mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 11:05:03 +02:00
Moved GCC ifdefs to Platform_POSIX
Moved GCC ifdefs added for Android fron SocketDefs.h to Platform_POSIX.h
This commit is contained in:
@@ -201,8 +201,8 @@
|
||||
#define POCO_ARCH_BIG_ENDIAN 1
|
||||
#endif
|
||||
#elif defined (nios2) || defined(__nios2) || defined(__nios2__)
|
||||
#define POCO_ARCH POCO_ARCH_NIOS2
|
||||
#if defined(__nios2_little_endian) || defined(nios2_little_endian) || defined(__nios2_little_endian__)
|
||||
#define POCO_ARCH POCO_ARCH_NIOS2
|
||||
#if defined(__nios2_little_endian) || defined(nios2_little_endian) || defined(__nios2_little_endian__)
|
||||
#define POCO_ARCH_LITTLE_ENDIAN 1
|
||||
#else
|
||||
#define POCO_ARCH_BIG_ENDIAN 1
|
||||
@@ -216,14 +216,4 @@
|
||||
#endif
|
||||
|
||||
|
||||
//
|
||||
// Thread-safety of local static initialization
|
||||
//
|
||||
#if __cplusplus >= 201103L || __GNUC__ >= 4 || defined(__clang__)
|
||||
#ifndef POCO_LOCAL_STATIC_INIT_IS_THREADSAFE
|
||||
#define POCO_LOCAL_STATIC_INIT_IS_THREADSAFE 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#endif // Foundation_Platform_INCLUDED
|
||||
|
Reference in New Issue
Block a user