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-eprintf.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 darwin-eprintf.c (limited to 'darwin-eprintf.c') diff --git a/darwin-eprintf.c b/darwin-eprintf.c new file mode 100644 index 0000000..d5b2553 --- /dev/null +++ b/darwin-eprintf.c @@ -0,0 +1,7 @@ +#include +#include + +void __eprintf(const char * msg, const char * file, unsigned line, const char * e) { + fprintf(stderr, msg, file, line, e); + abort(); +} -- cgit v1.2.3