diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-10-12 23:50:47 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-10-12 23:50:47 +0200 |
commit | fd68b8e874c8b3b134d43dd43cc1ce9bf8a99b3e (patch) | |
tree | 66c9826a4c35b393a7c614a54a95e7f87a847032 /darwin-config.h | |
parent | ca08818bbff9d5bbefaba5971dc81bbea128dfa2 (diff) |
Enabling cross-compilation for Darwin. Haven't tested under the real thing yet though. The eprintf() thingy seems odd.
Diffstat (limited to 'darwin-config.h')
-rw-r--r-- | darwin-config.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/darwin-config.h b/darwin-config.h index 98f087f..b37d5b5 100644 --- a/darwin-config.h +++ b/darwin-config.h @@ -1,4 +1,29 @@ +#define PIC 1 + #define STDC_HEADERS 1 #define WORDS_LITTLEENDIAN 1 #define CORO_SJLJ 1 #define _FILE_OFFSET_BITS 64 + +#define EMBED_LIBEIO 1 +#define EV_STANDALONE 1 + +#define HAVE_DLFCN_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_MEMORY_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STRINGS_H 1 +#define HAVE_STRING_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_SYS_SYSCALL_H 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_UNISTD_H 1 + +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif + +#define HAVE_POLL_H 1 +#define HAVE_SYS_EVENT_H 1 +#define HAVE_SYS_SELECT_H 1 |