Remove suspicious looking fp.h hack for macOS
This commit is contained in:
parent
a35c567e2f
commit
9ce58f1f4e
|
@ -102,14 +102,6 @@
|
||||||
# define SIZE_OF_LONG 4
|
# define SIZE_OF_LONG 4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// FIXME -- including fp.h from Carbon.h causes a undefined symbol error
|
|
||||||
// on my build system. the symbol is scalb. since we don't need any
|
|
||||||
// math functions we define __FP__, the include guard macro for fp.h, to
|
|
||||||
// prevent fp.h from being included.
|
|
||||||
#if defined(__APPLE__)
|
|
||||||
# define __FP__
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// define NULL
|
// define NULL
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue