diff --git a/CMakeLists.txt b/CMakeLists.txt index 40305a01f..b4d6407fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/config.h.cmake b/config.h.cmake index 7bd3460ef..b32ea774e 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -5,9 +5,6 @@ /* Use backward-cpp to print stack traces on crash */ #cmakedefine HAVE_BACKWARD 1 -/* Define to 1 if you have the header file. */ -#cmakedefine HAVE_DIRECT_H 1 - /* The backtrace function is declared in execinfo.h and works */ #cmakedefine HAVE_EXECINFO_H 1 diff --git a/src/platform/StdFile.cpp b/src/platform/StdFile.cpp index 3eb9aab8c..21038b480 100644 --- a/src/platform/StdFile.cpp +++ b/src/platform/StdFile.cpp @@ -23,9 +23,6 @@ #ifdef HAVE_IO_H #include #endif -#ifdef HAVE_DIRECT_H -#include -#endif #ifdef _WIN32 #include "platform/C4windowswrapper.h" #endif