forked from Mirrors/openclonk
CMake: Remove <locale.h> test
We're not using the <locale.h> header anywhere besides including it for no purpose, so we can drop the test (and the inclusion). Additionally, the header is part of standard C++.master
parent
8298813a90
commit
c638647227
|
@ -199,7 +199,6 @@ check_cxx_symbol_exists(vasprintf stdio.h HAVE_VASPRINTF)
|
||||||
include(CheckIncludeFileCXX)
|
include(CheckIncludeFileCXX)
|
||||||
include(CheckIncludeFilesCXX)
|
include(CheckIncludeFilesCXX)
|
||||||
CHECK_INCLUDE_FILE_CXX(io.h HAVE_IO_H)
|
CHECK_INCLUDE_FILE_CXX(io.h HAVE_IO_H)
|
||||||
CHECK_INCLUDE_FILE_CXX(locale.h HAVE_LOCALE_H)
|
|
||||||
CHECK_INCLUDE_FILE_CXX(share.h HAVE_SHARE_H)
|
CHECK_INCLUDE_FILE_CXX(share.h HAVE_SHARE_H)
|
||||||
CHECK_INCLUDE_FILE_CXX(signal.h HAVE_SIGNAL_H)
|
CHECK_INCLUDE_FILE_CXX(signal.h HAVE_SIGNAL_H)
|
||||||
CHECK_INCLUDE_FILE_CXX(stdint.h HAVE_STDINT_H)
|
CHECK_INCLUDE_FILE_CXX(stdint.h HAVE_STDINT_H)
|
||||||
|
|
|
@ -33,9 +33,6 @@
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_LOCALE_H
|
|
||||||
#include <clocale>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef USE_CONSOLE
|
#ifdef USE_CONSOLE
|
||||||
#define DONCOFF 0
|
#define DONCOFF 0
|
||||||
|
|
Loading…
Reference in New Issue