diff options
| author | click <click@gonnamakeyou.com> | 2013-02-27 22:31:25 +0100 |
|---|---|---|
| committer | click <click@gonnamakeyou.com> | 2013-02-27 22:31:25 +0100 |
| commit | 58ac8207eccbaf056cb1ae7a046bdef48a2483ad (patch) | |
| tree | 1ec24e06578b37ff93f72f56583fcf428330ec3f /src | |
| parent | d3ad8a4941124aae2b2ced6cc75c18ec8498664a (diff) | |
Core: Add support for compiling core in a cygwin-environment
- rename/readd/add G3D-patches
- give a history on the changes (some G3D-changes didn't even HAVE a patch - boo!)
DON'T MESS ABOUT WITH CHANGING DEP/* LIBRARIES AND NOT LEAVING A DIFF IN THE SOURCETRE, MKAY!?
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/collision/BoundingIntervalHierarchy.cpp | 2 | ||||
| -rw-r--r-- | src/server/shared/Common.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/server/collision/BoundingIntervalHierarchy.cpp b/src/server/collision/BoundingIntervalHierarchy.cpp index bca738d1ff6..4c1f449da25 100644 --- a/src/server/collision/BoundingIntervalHierarchy.cpp +++ b/src/server/collision/BoundingIntervalHierarchy.cpp @@ -20,6 +20,8 @@ #if defined __APPLE__ #define isnan std::isnan +#elif defined __CYGWIN__ + #define isnan std::isnan #elif defined _MSC_VER #define isnan _isnan #endif diff --git a/src/server/shared/Common.h b/src/server/shared/Common.h index f4e4ce7fe06..44a7749334d 100644 --- a/src/server/shared/Common.h +++ b/src/server/shared/Common.h @@ -170,7 +170,7 @@ enum LocaleConstant }; const uint8 TOTAL_LOCALES = 9; -const LocaleConstant DEFAULT_LOCALE = LOCALE_enUS; +#define DEFAULT_LOCALE LOCALE_enUS #define MAX_LOCALES 8 #define MAX_ACCOUNT_TUTORIAL_VALUES 8 |
