diff options
author | Mark Pulford <mark@kyne.com.au> | 2011-12-29 17:23:11 +0400 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2011-12-29 17:23:11 +0400 |
commit | 6cc88e3ac5275868e168acaf60203563f131355b (patch) | |
tree | c574da2dff2c4e95cc6d39d6de2393b64eedf4fc /CMakeLists.txt | |
parent | 155393d5bd801ce5dbd76020facecd9270679e94 (diff) |
Remove POSIX locale workaround
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bfb28cc..349342e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,16 +11,6 @@ set(CMAKE_BUILD_TYPE Release) find_package(Lua51 REQUIRED) include_directories(${LUA_INCLUDE_DIR}) -# Use thread-safe POSIX.1-2008 uselocale() where available, otherwise -# fall back to ANSI C setlocale(). -include(CheckFunctionExists) -CHECK_FUNCTION_EXISTS(uselocale HAVE_USELOCALE) -if(HAVE_USELOCALE) - add_definitions(-DUSE_POSIX_USELOCALE) -else() - add_definitions(-DUSE_POSIX_SETLOCALE) -endif() - # Handle platforms missing isinf() macro (Eg, some Solaris systems). include(CheckSymbolExists) CHECK_SYMBOL_EXISTS(isinf math.h HAVE_ISINF) |