From fd68b8e874c8b3b134d43dd43cc1ce9bf8a99b3e Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Wed, 12 Oct 2011 23:50:47 +0200 Subject: Enabling cross-compilation for Darwin. Haven't tested under the real thing yet though. The eprintf() thingy seems odd. --- darwin-config.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'darwin-config.h') 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 -- cgit v1.2.3