|
| 1 | +#ifndef ACE_CONFIG_EMSCRIPTEN_H |
| 2 | +#define ACE_CONFIG_EMSCRIPTEN_H |
| 3 | + |
| 4 | +#define ACE_EMSCRIPTEN |
| 5 | + |
| 6 | +#define ACE_HAS_CPP11 |
| 7 | + |
| 8 | +// Threading |
| 9 | +#define ACE_MT_SAFE 1 |
| 10 | +#define ACE_HAS_THREADS 1 |
| 11 | +#define ACE_HAS_PTHREADS |
| 12 | +#define ACE_HAS_PTHREADS_UNIX98_EXT |
| 13 | +#define ACE_HAS_THREAD_SPECIFIC_STORAGE |
| 14 | + |
| 15 | +// Basic Types |
| 16 | +#define ACE_HAS_SSIZE_T |
| 17 | +#define ACE_HAS_WCHAR |
| 18 | + |
| 19 | +// Time |
| 20 | +#define ACE_HAS_POSIX_TIME |
| 21 | +#define ACE_LACKS_TIMESPEC_T |
| 22 | +#define ACE_HAS_NONCONST_SELECT_TIMEVAL |
| 23 | +#define ACE_HAS_VOIDPTR_GETTIMEOFDAY |
| 24 | + |
| 25 | +// Everything else |
| 26 | +#define ACE_HAS_UCONTEXT_T |
| 27 | +#define ACE_HAS_MSG |
| 28 | +#define ACE_HAS_CPU_SET_T |
| 29 | +#define ACE_LACKS_ISCTYPE |
| 30 | +#define ACE_HAS_STRBUF_T |
| 31 | +#define ACE_HAS_SOCKLEN_T |
| 32 | +#define ACE_LACKS_AUTO_PTR |
| 33 | +#define ACE_HAS_SIGINFO_T |
| 34 | +#define ACE_LACKS_SIGINFO_H |
| 35 | +#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES |
| 36 | +#define ACE_HAS_3_PARAM_WCSTOK |
| 37 | +#define ACE_LACKS_ITOW |
| 38 | +#define ACE_LACKS_WCSICMP |
| 39 | +#define ACE_LACKS_WCSNICMP |
| 40 | +#define ACE_HAS_DIRENT |
| 41 | +#define ACE_HAS_4_4BSD_SENDMSG_RECVMSG |
| 42 | + |
| 43 | +#include "config-posix.h" |
| 44 | +#include "config-g++-common.h" |
| 45 | + |
| 46 | +// Not supported? https://github.com/emscripten-core/emscripten/issues/18050 |
| 47 | +#ifdef ACE_HAS_AIO_CALLS |
| 48 | +# undef ACE_HAS_AIO_CALLS |
| 49 | +#endif |
| 50 | + |
| 51 | +#endif |
0 commit comments