mirror of
https://github.com/mcneel/opennurbs.git
synced 2026-04-20 13:16:38 +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
@@ -35,7 +35,7 @@ static ON_CRT_locale_t ON_CRT_C_locale()
|
||||
ON_C_locale = _create_locale(LC_ALL, "C");
|
||||
#elif defined(ON_RUNTIME_APPLE)
|
||||
ON_C_locale = _c_locale;
|
||||
#elif defined(ON_RUNTIME_ANDROID)
|
||||
#elif defined(ON_RUNTIME_ANDROID) || defined(ON_RUNTIME_LINUX)
|
||||
ON_C_locale = 0;
|
||||
#else
|
||||
ON_C_locale = _create_locale(category, locale);
|
||||
@@ -104,7 +104,7 @@ static ON_CRT_locale_t ON_CRT_create_locale_ALL( const char * locale )
|
||||
}
|
||||
}
|
||||
return newlocale(LC_ALL_MASK, apple_name, ON_CRT_C_locale() );
|
||||
#elif defined(ON_RUNTIME_ANDROID)
|
||||
#elif defined(ON_RUNTIME_ANDROID) || defined(ON_RUNTIME_LINUX)
|
||||
return 0;
|
||||
#else
|
||||
return _create_locale(category, locale);
|
||||
@@ -1344,7 +1344,7 @@ public:
|
||||
static bool Validate_sprintf_l()
|
||||
{
|
||||
#if defined(ON_COMPILER_CLANG)
|
||||
#if defined(ON_RUNTIME_ANDROID)
|
||||
#if defined(ON_RUNTIME_ANDROID) || defined(ON_RUNTIME_LINUX)
|
||||
// Test formatted printing
|
||||
char buffer[64] = { 0 };
|
||||
// Testing C-runtime - do not using ON_String::FormatIntoBuffer
|
||||
@@ -1369,7 +1369,7 @@ public:
|
||||
static bool Validate_sprintf_s_l()
|
||||
{
|
||||
#if defined(ON_COMPILER_CLANG)
|
||||
#if defined(ON_RUNTIME_ANDROID)
|
||||
#if defined(ON_RUNTIME_ANDROID) || defined(ON_RUNTIME_LINUX)
|
||||
// Test formatted printing
|
||||
char buffer[64] = { 0 };
|
||||
size_t buffer_capacity = (sizeof(buffer) / sizeof(buffer[0])) - 1;
|
||||
@@ -1423,7 +1423,7 @@ public:
|
||||
static bool Validate_sscanf_l()
|
||||
{
|
||||
#if defined(ON_COMPILER_CLANG)
|
||||
#if defined(ON_RUNTIME_ANDROID)
|
||||
#if defined(ON_RUNTIME_ANDROID) || defined(ON_RUNTIME_LINUX)
|
||||
// Test formatted scanning
|
||||
double a = ON_UNSET_VALUE;
|
||||
// Testing C-runtime - do not using ON_String::Scan
|
||||
@@ -1448,7 +1448,7 @@ public:
|
||||
static bool Validate_sscanf_s_l()
|
||||
{
|
||||
#if defined(ON_COMPILER_CLANG)
|
||||
#if defined(ON_RUNTIME_ANDROID)
|
||||
#if defined(ON_RUNTIME_ANDROID) || defined(ON_RUNTIME_LINUX)
|
||||
// Test formatted scanning
|
||||
double a = ON_UNSET_VALUE;
|
||||
// Testing C-runtime - do not using ON_String::Scan
|
||||
|
||||
Reference in New Issue
Block a user