forked from Mirrors/openclonk
CMake: Remove <direct.h> test
We're not using the <direct.h> header anywhere besides including it for no purpose, so we can drop the test (and the inclusion).master
parent
15f4a06cd4
commit
8298813a90
|
@ -198,7 +198,6 @@ check_cxx_symbol_exists(vasprintf stdio.h HAVE_VASPRINTF)
|
|||
############################################################################
|
||||
include(CheckIncludeFileCXX)
|
||||
include(CheckIncludeFilesCXX)
|
||||
CHECK_INCLUDE_FILE_CXX(direct.h HAVE_DIRECT_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)
|
||||
|
|
|
@ -5,9 +5,6 @@
|
|||
/* Use backward-cpp to print stack traces on crash */
|
||||
#cmakedefine HAVE_BACKWARD 1
|
||||
|
||||
/* Define to 1 if you have the <direct.h> header file. */
|
||||
#cmakedefine HAVE_DIRECT_H 1
|
||||
|
||||
/* The backtrace function is declared in execinfo.h and works */
|
||||
#cmakedefine HAVE_EXECINFO_H 1
|
||||
|
||||
|
|
|
@ -23,9 +23,6 @@
|
|||
#ifdef HAVE_IO_H
|
||||
#include <io.h>
|
||||
#endif
|
||||
#ifdef HAVE_DIRECT_H
|
||||
#include <direct.h>
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
#include "platform/C4windowswrapper.h"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue