mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-03-21 01:49:30 +08:00
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:
committed by
Will Pearson
parent
abdc015b3e
commit
eac54460a5
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user