Moved GCC ifdefs to Platform_POSIX

Moved GCC ifdefs added for Android fron SocketDefs.h to Platform_POSIX.h
This commit is contained in:
aleks-f
2012-12-02 22:37:02 -06:00
parent 6d2881ef34
commit 401415773f
3 changed files with 26 additions and 22 deletions

View File

@@ -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