mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-23 23:07:15 +08:00
Back out patch that got bundled into another patch.
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user