summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Momjian2003-06-12 08:11:07 +0000
committerBruce Momjian2003-06-12 08:11:07 +0000
commitdc4ee8a833c09e883f1966d1698792b627649740 (patch)
tree3ca0022dc3d9025181334326eff1b6333f9da52a /src/include
parenta647e30ba3d3d36c6a00909e7c7770adb1676e60 (diff)
Back out patch that got bundled into another patch.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/c.h4
-rw-r--r--src/include/getaddrinfo.h4
-rw-r--r--src/include/pg_config.h.win324
-rw-r--r--src/include/port.h4
4 files changed, 4 insertions, 12 deletions
diff --git a/src/include/c.h b/src/include/c.h
index 979ca5885b..d17827775f 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 ce329a9024..2afec4d5ca 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 7835ef8d9f..aaeecf5957 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 93d0122183..2fd6de606c 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