diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2007-03-17 18:19:15 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2007-03-17 18:19:15 +0000 |
commit | 46a50aa001cd0bcec263f06db74433c3a2850cf8 (patch) | |
tree | 6000caf78060fb5ae862de25e7e41a4d54edde50 /lib | |
parent | 605a39117810a9bb3e99e2aba8c4d5fc7afa5db8 (diff) |
Remove unneeded 'HAVE_*' defines. Detect i386 OS-target (gcc).
Diffstat (limited to 'lib')
-rw-r--r-- | lib/config-win32.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h index 41df3d9e3..021576068 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -9,9 +9,6 @@ /* HEADER FILES */ /* ---------------------------------------------------------------- */ -/* Define if you have the <alloca.h> header file. */ -/* #define HAVE_ALLOCA_H 1 */ - /* Define if you have the <arpa/inet.h> header file. */ /* #define HAVE_ARPA_INET_H 1 */ @@ -36,11 +33,6 @@ /* Define if you have the <io.h> header file. */ #define HAVE_IO_H 1 -/* Define if you have the <malloc.h> header file. */ -#ifndef __SALFORDC__ -#define HAVE_MALLOC_H 1 -#endif - /* Define if you need the malloc.h header file even with stdlib.h */ #ifndef __SALFORDC__ #define NEED_MALLOC_H 1 @@ -218,17 +210,11 @@ /* Define if you have the tcsetattr function. */ /* #define HAVE_TCSETATTR 1 */ -/* Define if you have the uname function. */ -/* #define HAVE_UNAME 1 */ - /* Define if you have the utime function */ #ifndef __BORLANDC__ #define HAVE_UTIME 1 #endif -/* Define if you have the vprintf function. */ -#define HAVE_VPRINTF 1 - /* Define if you have the getnameinfo function. */ #define HAVE_GETNAMEINFO 1 @@ -375,7 +361,7 @@ /* Define cpu-machine-OS */ #undef OS -#if defined(_M_IX86) /* x86 */ +#if defined(_M_IX86) || defined(__i386__) /* x86 (MSVC or gcc) */ #define OS "i386-pc-win32" #elif defined(_M_IA64) /* Itanium */ #define OS "ia64-pc-win32" |