diff options
| author | click <none@none> | 2010-08-26 16:40:28 +0200 |
|---|---|---|
| committer | click <none@none> | 2010-08-26 16:40:28 +0200 |
| commit | 3c027962ba861076932792c0714d3dbbb37c9c14 (patch) | |
| tree | 62c10ab82574d750f271fd73263de8ccc93d7587 /src/server/collision/BoundingIntervalHierarchy.h | |
| parent | 692779f2830cc9c14eb07cb70908694b3c5ad75a (diff) | |
Buildsystem/Core: Adjust MySQL headers on relevant files to use simplified #include <mysql.h> instead of <mysql/mysql.h>
+ add support for compiling under MacOSX (thanks to elegos for the research)
NOTE: G3D requires a redefinition-hack under OSX, please see wiki for this info (dep-sources will not be changed)
--HG--
branch : trunk
Diffstat (limited to 'src/server/collision/BoundingIntervalHierarchy.h')
| -rw-r--r-- | src/server/collision/BoundingIntervalHierarchy.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/collision/BoundingIntervalHierarchy.h b/src/server/collision/BoundingIntervalHierarchy.h index 509eb3d2488..27b65957c47 100644 --- a/src/server/collision/BoundingIntervalHierarchy.h +++ b/src/server/collision/BoundingIntervalHierarchy.h @@ -31,6 +31,10 @@ #include <limits> #include <cmath> +#ifdef __APPLE__ + #define isnan(x) ( std::isnan(x) ) +#endif + #define MAX_STACK_SIZE 64 #ifdef _MSC_VER |
