diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/c.h | 4 | ||||
| -rw-r--r-- | src/include/getaddrinfo.h | 4 | ||||
| -rw-r--r-- | src/include/pg_config.h.win32 | 4 | ||||
| -rw-r--r-- | src/include/port.h | 4 |
4 files changed, 4 insertions, 12 deletions
diff --git a/src/include/c.h b/src/include/c.h index 979ca5885b1..d17827775fa 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: c.h,v 1.148 2003/06/12 08:02:56 momjian Exp $ + * $Id: c.h,v 1.149 2003/06/12 08:11:07 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -73,7 +73,7 @@ #include <SupportDefs.h> #endif -#if defined(WIN32) && !defined(_MSC_VER) && !defined(__BORLANDC__) +#ifdef WIN32 /* We have to redefine some system functions after they are included above */ #include "pg_config_os.h" #endif diff --git a/src/include/getaddrinfo.h b/src/include/getaddrinfo.h index ce329a90244..2afec4d5caf 100644 --- a/src/include/getaddrinfo.h +++ b/src/include/getaddrinfo.h @@ -16,17 +16,15 @@ * * Copyright (c) 2003, PostgreSQL Global Development Group * - * $Id: getaddrinfo.h,v 1.4 2003/06/12 08:02:56 momjian Exp $ + * $Id: getaddrinfo.h,v 1.5 2003/06/12 08:11:07 momjian Exp $ * *------------------------------------------------------------------------- */ #ifndef GETADDRINFO_H #define GETADDRINFO_H -#if !defined(WIN32) || (!defined(_MSC_VER) && !defined(__BORLANDC__)) #include <sys/socket.h> #include <netdb.h> -#endif #ifndef HAVE_STRUCT_ADDRINFO diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32 index 7835ef8d9ff..aaeecf5957b 100644 --- a/src/include/pg_config.h.win32 +++ b/src/include/pg_config.h.win32 @@ -21,10 +21,6 @@ #define HAVE_ATEXIT #define HAVE_MEMMOVE -#ifdef __BORLANDC__ -#define HAVE_RANDOM -#endif - /* use _snprintf instead of snprintf */ #define HAVE_DECL_SNPRINTF 1 #define snprintf _snprintf diff --git a/src/include/port.h b/src/include/port.h index 93d01221834..2fd6de606c1 100644 --- a/src/include/port.h +++ b/src/include/port.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: port.h,v 1.4 2003/06/12 08:02:56 momjian Exp $ + * $Id: port.h,v 1.5 2003/06/12 08:11:07 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -76,10 +76,8 @@ extern double rint(double x); #endif #ifndef HAVE_INET_ATON -#if !defined(WIN32) || (!defined(_MSC_VER) && !defined(__BORLANDC__)) # include <netinet/in.h> # include <arpa/inet.h> -#endif extern int inet_aton(const char *cp, struct in_addr * addr); #endif |
