mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 02:22:57 +01:00
Merge pull request #343 from abergmeier/develop
Add platform configuration for Emscripten.
This commit is contained in:
commit
5a191c4fb4
@ -58,7 +58,7 @@
|
|||||||
#elif defined(__digital__) || defined(__osf__)
|
#elif defined(__digital__) || defined(__osf__)
|
||||||
#define POCO_OS_FAMILY_UNIX 1
|
#define POCO_OS_FAMILY_UNIX 1
|
||||||
#define POCO_OS POCO_OS_TRU64
|
#define POCO_OS POCO_OS_TRU64
|
||||||
#elif defined(linux) || defined(__linux) || defined(__linux__) || defined(__TOS_LINUX__)
|
#elif defined(linux) || defined(__linux) || defined(__linux__) || defined(__TOS_LINUX__) || defined(EMSCRIPTEN)
|
||||||
#define POCO_OS_FAMILY_UNIX 1
|
#define POCO_OS_FAMILY_UNIX 1
|
||||||
#define POCO_OS POCO_OS_LINUX
|
#define POCO_OS POCO_OS_LINUX
|
||||||
#elif defined(__APPLE__) || defined(__TOS_MACOS__)
|
#elif defined(__APPLE__) || defined(__TOS_MACOS__)
|
||||||
@ -136,7 +136,7 @@
|
|||||||
#if defined(__ALPHA) || defined(__alpha) || defined(__alpha__) || defined(_M_ALPHA)
|
#if defined(__ALPHA) || defined(__alpha) || defined(__alpha__) || defined(_M_ALPHA)
|
||||||
#define POCO_ARCH POCO_ARCH_ALPHA
|
#define POCO_ARCH POCO_ARCH_ALPHA
|
||||||
#define POCO_ARCH_LITTLE_ENDIAN 1
|
#define POCO_ARCH_LITTLE_ENDIAN 1
|
||||||
#elif defined(i386) || defined(__i386) || defined(__i386__) || defined(_M_IX86)
|
#elif defined(i386) || defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(EMSCRIPTEN)
|
||||||
#define POCO_ARCH POCO_ARCH_IA32
|
#define POCO_ARCH POCO_ARCH_IA32
|
||||||
#define POCO_ARCH_LITTLE_ENDIAN 1
|
#define POCO_ARCH_LITTLE_ENDIAN 1
|
||||||
#elif defined(_IA64) || defined(__IA64__) || defined(__ia64__) || defined(__ia64) || defined(_M_IA64)
|
#elif defined(_IA64) || defined(__IA64__) || defined(__ia64__) || defined(__ia64) || defined(_M_IA64)
|
||||||
|
Loading…
Reference in New Issue
Block a user