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

@@ -55,6 +55,11 @@
#define ON_RUNTIME_ANDROID
#endif
#elif defined(__linux__)
#if !defined(ON_RUNTIME_LINUX)
#define ON_RUNTIME_LINUX
#endif
#endif
/*
//
@@ -150,6 +155,25 @@
#define ON_SIZEOF_WCHAR_T 4
#endif
#elif defined(ON_RUNTIME_LINUX)
#if defined(__x86_64__)
#define ON_64BIT_RUNTIME
#else
#define ON_32BIT_RUNTIME
#endif
#if !defined(ON_SIZEOF_WCHAR_T)
#define ON_SIZEOF_WCHAR_T 4
#endif
#if !defined(ON_LITTLE_ENDIAN)
#if defined( __x86_64__ )
#define ON_LITTLE_ENDIAN
#endif
#endif
#endif
#if !defined(ON_64BIT_RUNTIME) && !defined(ON_32BIT_RUNTIME)