Import Debian changes 20180207-1
[hcoop/debian/mlton.git] / runtime / platform / aix.h
CommitLineData
7f918cf1
CE
1#if defined(_ARCH_PPC64)
2#define __powerpc64__
3#elif defined(_ARCH_PPC)
4#define __powerpc__
5#else
6#error "Unknown architecture"
7#endif
8
9#include <unistd.h>
10
11#include <dirent.h>
12#include <fcntl.h>
13#include <fenv.h>
14#include <grp.h>
15#include <netdb.h>
16#include <netinet/in.h>
17#include <netinet/tcp.h>
18#include <pwd.h>
19#include <sys/ioctl.h>
20#include <sys/poll.h>
21#include <sys/select.h>
22#include <sys/socket.h>
23#include <sys/stat.h>
24#include <sys/syslog.h>
25#include <sys/time.h>
26#include <sys/times.h>
27#include <sys/types.h>
28#include <sys/un.h>
29#include <sys/utsname.h>
30#include <termios.h>
31#include <utime.h>
32
33#define HAS_FEROUND TRUE
34#define HAS_MSG_DONTWAIT FALSE
35#define HAS_PTRACE FALSE
36#define HAS_REMAP FALSE
37#define HAS_SIGALTSTACK TRUE
38#define NEEDS_SIGALTSTACK_EXEC FALSE
39#define HAS_SPAWN FALSE
40#define HAS_TIME_PROFILING FALSE
41
42#define MLton_Platform_OS_host "aix"
43
44/* This should not conflict with existing flags. */
45#define MSG_DONTWAIT 0x1000000