mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-07 22:23:12 +08:00
Remove suspicious looking fp.h hack for macOS
This commit is contained in:
@@ -102,14 +102,6 @@
|
||||
# define SIZE_OF_LONG 4
|
||||
#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
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user