On MacOSX, assume we do have CFLocaleCopyCurrent to detect the actual locale by hard-coding the fact in config.h.cmake

This circumvents the fact that we are using localename.c directly instead of relying on the autotools-generated config.h
dev-ui
Didier 'OdyX' Raboud 2013-11-13 17:41:33 +01:00
parent ba8dcc887f
commit d7af8204ce
1 changed files with 5 additions and 0 deletions

View File

@ -6,6 +6,11 @@
#cmakedefine PLATFORM_MACOSX @PLATFORM_MACOSX@
#cmakedefine PLATFORM_OTHER @PLATFORM_OTHER@
#ifdef PLATFORM_MACOSX
// Assume we have the Mac OS X function CFLocaleCopyCurrent in the CoreFoundation framework
#define HAVE_CFLOCALECOPYCURRENT 1
#endif
#cmakedefine GLEW_STATIC
#cmakedefine OPENAL_SOUND