Add preliminary ON_RUNTIME_LINUX support.

* [make] add missing files to get compile going
  - opennurbs_glyph_outline.cpp
  - opennurbs_unicode_cpsb.cpp
  - commented out version of LINKFLAGS with -luuid
  - commented out entries for Clang usage
This commit is contained in:
Nathan Letwory
2018-10-02 07:28:55 +03:00
committed by Will Pearson
parent abdc015b3e
commit eac54460a5
10 changed files with 51 additions and 18 deletions

View File

@@ -807,7 +807,7 @@ int ON_String::FormatVargsIntoBuffer(
// CLang modifies args so a copy is required
va_list args_copy;
va_copy (args_copy, args);
#if defined(ON_RUNTIME_ANDROID)
#if defined(ON_RUNTIME_ANDROID) || defined(ON_RUNTIME_LINUX)
int len = vsnprintf(buffer, buffer_capacity, format, args_copy);
#else
int len = vsnprintf_l(buffer, buffer_capacity, ON_Locale::Ordinal.NumericLocalePtr(), format, args_copy);
@@ -859,7 +859,7 @@ int ON_String::FormatVargsOutputCount(
va_list args_copy;
va_copy (args_copy, args);
#if defined(ON_RUNTIME_ANDROID)
#if defined(ON_RUNTIME_ANDROID) || defined(ON_RUNTIME_LINUX)
int len = vsnprintf(nullptr, 0, format, args_copy);
#else
int len = vsnprintf_l(nullptr, 0, ON_Locale::Ordinal.NumericLocalePtr(), format, args_copy);