Ivan Ngeow: Fix build on FreeBSD
FreeBSD 8.0-RELEASE, only a very small patch needed to be applied to simgear/simgear/compiler.h, to add so that __FreeBSD_version is defined.
This commit is contained in:
@@ -154,6 +154,7 @@ inline int (isnan)(double r) { return !(r <= 0 || r >= 0); }
|
||||
#endif
|
||||
|
||||
#if defined (__FreeBSD__)
|
||||
#include <sys/param.h>
|
||||
# if __FreeBSD_version < 500000
|
||||
extern "C" {
|
||||
inline int isnan(double r) { return !(r <= 0 || r >= 0); }
|
||||
|
||||
Reference in New Issue
Block a user