summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-10-12 23:50:47 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-10-12 23:50:47 +0200
commitfd68b8e874c8b3b134d43dd43cc1ce9bf8a99b3e (patch)
tree66c9826a4c35b393a7c614a54a95e7f87a847032 /includes
parentca08818bbff9d5bbefaba5971dc81bbea128dfa2 (diff)
Enabling cross-compilation for Darwin. Haven't tested under the real thing yet though. The eprintf() thingy seems odd.
Diffstat (limited to 'includes')
-rw-r--r--includes/BString.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/BString.h b/includes/BString.h
index 5356310..794126f 100644
--- a/includes/BString.h
+++ b/includes/BString.h
@@ -3,7 +3,9 @@
#include <stdarg.h>
#include <string.h>
#include <stdint.h>
+#ifndef __APPLE__
#include <malloc.h>
+#endif
#include <stdlib.h>
#include <string>