From 8cf8c91050c67d52586a830561002d5322bd5aaf Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sun, 26 Jul 2009 03:47:34 -0400 Subject: [PATCH] Add config.h conditional for Windows SVN-Revision: 1278 --- build/cmake/config.h.in | 39 +++------------------------------------ 1 file changed, 3 insertions(+), 36 deletions(-) diff --git a/build/cmake/config.h.in b/build/cmake/config.h.in index e9efbdc12..b260b1cb5 100644 --- a/build/cmake/config.h.in +++ b/build/cmake/config.h.in @@ -184,6 +184,9 @@ /* Define to 1 if you have the header file. */ #cmakedefine HAVE_INTTYPES_H 1 +/* Define to 1 if you have the header file. */ +#cmakedefine HAVE_IO_H 1 + /* Define to 1 if you have the header file. */ #cmakedefine HAVE_LANGINFO_H 1 @@ -668,39 +671,3 @@ /* Define to `unsigned int' if does not define. */ #cmakedefine uintptr_t ${uintptr_t } - -/* - * Check for Watcom and Microsoft Visual C compilers (WIN32 only) - */ -#if (defined(__WIN32__) || defined(_WIN32) || defined(__WIN32)) && !defined(__CYGWIN__) - #define IS_WIN32 1 - - #if defined(__TURBOC__) || defined(__BORLANDC__) /* Borland compilers */ - #elif defined( __WATCOMC__ ) || defined(__WATCOMCPP__) /* Watcom compilers */ - #define IS_WATCOM 1 - /* Define to 1 if __INT64 is defined */ - #elif defined(__IBMC__) || defined(__IBMCPP__) /* IBM compilers */ - #elif defined( __SC__ ) /* Symantec C++ compilers */ - #elif defined( M_I86 ) && defined( MSDOS ) /* Microsoft DOS/Win 16 compilers */ - #elif defined( _M_IX86 ) || defined( _68K_ ) /* Microsoft Win32 compilers */ - #define IS_VISUALC 1 - /* Define to 1 if __INT64 is defined */ - #else - #endif - - /* - * libarchvie has ftruncate(),futimes(),utimes() functions. - */ - #ifndef HAVE_FTRUNCATE - #define HAVE_FTRUNCATE 1 - #endif - #ifndef HAVE_FUTIMES - #define HAVE_FUTIMES 1 - #endif - #ifndef HAVE_UTIMES - #define HAVE_UTIMES 1 - #endif - - #include "archive_windows.h" -#endif - -- 2.47.3