diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-04-19 00:17:37 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-04-19 00:17:37 +0000 |
commit | 04a2f994c099d12f32ab61e7cee41b5c6089cdee (patch) | |
tree | b09ad080a3ad47fc44a472c1a536e8ca2f4db5b8 /sonogram~ | |
parent | 698a567c206b24a82a9f168f48139b76ddaae44e (diff) |
updated to build on a plain MacOSX setup
svn path=/trunk/externals/unauthorized/; revision=2783
Diffstat (limited to 'sonogram~')
-rw-r--r-- | sonogram~/sonogram~-joge.c | 2 | ||||
-rw-r--r-- | sonogram~/sonogram~-yves.c | 2 | ||||
-rw-r--r-- | sonogram~/sonogram~.c | 6 |
3 files changed, 8 insertions, 2 deletions
diff --git a/sonogram~/sonogram~-joge.c b/sonogram~/sonogram~-joge.c index dc6e6b6..4216c4d 100644 --- a/sonogram~/sonogram~-joge.c +++ b/sonogram~/sonogram~-joge.c @@ -37,7 +37,7 @@ #include <stdlib.h> #include <fcntl.h> #include <sys/stat.h> -#ifndef MACOSX +#ifndef __APPLE__ #include <malloc.h> #endif #include <ctype.h> diff --git a/sonogram~/sonogram~-yves.c b/sonogram~/sonogram~-yves.c index df957b1..59cbeed 100644 --- a/sonogram~/sonogram~-yves.c +++ b/sonogram~/sonogram~-yves.c @@ -37,7 +37,7 @@ #include <stdlib.h> #include <fcntl.h> #include <sys/stat.h> -#ifndef MACOSX +#ifndef __APPLE__ #include <malloc.h> #endif #include <ctype.h> diff --git a/sonogram~/sonogram~.c b/sonogram~/sonogram~.c index ff70ae1..fedf88c 100644 --- a/sonogram~/sonogram~.c +++ b/sonogram~/sonogram~.c @@ -37,7 +37,13 @@ #include <stdlib.h> #include <fcntl.h> #include <sys/stat.h> + +#ifdef __APPLE__ +#include <sys/malloc.h> +#else #include <malloc.h> +#endif + #include <ctype.h> #include <pthread.h> #ifdef UNIX |