From 46a50aa001cd0bcec263f06db74433c3a2850cf8 Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Sat, 17 Mar 2007 18:19:15 +0000 Subject: Remove unneeded 'HAVE_*' defines. Detect i386 OS-target (gcc). --- lib/config-win32.h | 16 +--------------- 1 file changed, 1 insertion(+), 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 header file. */ -/* #define HAVE_ALLOCA_H 1 */ - /* Define if you have the header file. */ /* #define HAVE_ARPA_INET_H 1 */ @@ -36,11 +33,6 @@ /* Define if you have the header file. */ #define HAVE_IO_H 1 -/* Define if you have the 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" -- cgit v1.2.3