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 sbaer
parent e4bf7f9a86
commit b5b701badc
10 changed files with 52 additions and 19 deletions

View File

@@ -693,7 +693,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);
@@ -745,7 +745,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);