From c6386472274fb0c51034bb8b61b5deb3f850103e Mon Sep 17 00:00:00 2001 From: Nicolas Hake Date: Mon, 31 Dec 2018 12:30:06 +0100 Subject: [PATCH] CMake: Remove test We're not using the 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++. --- CMakeLists.txt | 1 - src/config/C4Config.cpp | 3 --- 2 files changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b4d6407fa..5f5799b8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -199,7 +199,6 @@ check_cxx_symbol_exists(vasprintf stdio.h HAVE_VASPRINTF) include(CheckIncludeFileCXX) include(CheckIncludeFilesCXX) 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(signal.h HAVE_SIGNAL_H) CHECK_INCLUDE_FILE_CXX(stdint.h HAVE_STDINT_H) diff --git a/src/config/C4Config.cpp b/src/config/C4Config.cpp index 95a5da55f..ed44d42ea 100644 --- a/src/config/C4Config.cpp +++ b/src/config/C4Config.cpp @@ -33,9 +33,6 @@ #ifdef HAVE_SYS_TYPES_H #include #endif -#ifdef HAVE_LOCALE_H -#include -#endif #ifdef USE_CONSOLE #define DONCOFF 0