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

@@ -86,7 +86,7 @@ int ON_String::ScanBufferVargs(
)
{
#if defined(ON_COMPILER_CLANG)
#if defined(ON_RUNTIME_ANDROID)
#if defined(ON_RUNTIME_ANDROID) || defined(ON_RUNTIME_LINUX)
if (nullptr == buffer || nullptr == format)
return -1;
return vsscanf(buffer, format, args);
@@ -149,7 +149,7 @@ int ON_wString::ScanBufferVargs(
)
{
#if defined(ON_COMPILER_CLANG)
#if defined(ON_RUNTIME_ANDROID)
#if defined(ON_RUNTIME_ANDROID) || defined(ON_RUNTIME_LINUX)
if (nullptr == buffer || nullptr == format)
return -1;
return swscanf(buffer, format, args);
@@ -398,7 +398,7 @@ const char* ON_String::ToNumber(
double x = value_on_failure;
#if defined(ON_COMPILER_CLANG)
#if defined(ON_RUNTIME_ANDROID)
#if defined(ON_RUNTIME_ANDROID) || defined(ON_RUNTIME_LINUX)
if (1 == sscanf(local_buffer, "%lg", &x))
{
*value = x;
@@ -640,7 +640,7 @@ const wchar_t* ON_wString::ToNumber(
double x = value_on_failure;
#if defined(ON_COMPILER_CLANG)
#if defined(ON_RUNTIME_ANDROID)
#if defined(ON_RUNTIME_ANDROID) || defined(ON_RUNTIME_LINUX)
if (1 == sscanf(local_buffer, "%lg", &x))
{
*value = x;