diff options
-rw-r--r-- | CMakeLists.txt | 4 | ||||
-rw-r--r-- | include/services.h | 3 | ||||
-rw-r--r-- | include/sysconf.h.cmake | 7 |
3 files changed, 0 insertions, 14 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 157d9fc36..943d27458 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -143,7 +143,6 @@ endif() # Include the checking functions used later in this CMakeLists.txt include(CheckFunctionExists) -include(CheckIncludeFile) include(CheckTypeSize) include(CheckLibraryExists) include(CheckCXXCompilerFlag) @@ -257,9 +256,6 @@ if(CMAKE_BUILD_TYPE STREQUAL "DEBUG" OR CMAKE_BUILD_TYPE STREQUAL "RELWITHDEBINF set(DEBUG_BUILD TRUE) endif() -# Check for the existence of the following include files -check_include_file(strings.h HAVE_STRINGS_H) - # Check for the existence of the following functions check_function_exists(umask HAVE_UMASK) check_function_exists(epoll_wait HAVE_EPOLL) diff --git a/include/services.h b/include/services.h index a1f150fce..8febe4668 100644 --- a/include/services.h +++ b/include/services.h @@ -21,9 +21,6 @@ #include <stdexcept> #include <string.h> -#if HAVE_STRINGS_H -# include <strings.h> -#endif #ifndef _WIN32 #include <unistd.h> diff --git a/include/sysconf.h.cmake b/include/sysconf.h.cmake index 18fae8cc3..aa9cf866d 100644 --- a/include/sysconf.h.cmake +++ b/include/sysconf.h.cmake @@ -14,21 +14,14 @@ #cmakedefine DEBUG_BUILD #cmakedefine DEFUMASK @DEFUMASK@ -#cmakedefine HAVE_STRINGS_H 1 #cmakedefine HAVE_UMASK 1 -#cmakedefine HAVE_EVENTFD 1 -#cmakedefine HAVE_EPOLL 1 -#cmakedefine HAVE_POLL 1 #cmakedefine GETTEXT_FOUND 1 #ifdef _WIN32 # define popen _popen # define pclose _pclose -# define ftruncate _chsize # ifdef MSVCPP # define PATH_MAX MAX_PATH # endif -# define MAXPATHLEN MAX_PATH -# define bzero(buf, size) memset(buf, 0, size) # define sleep(x) Sleep(x * 1000) #endif |