mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
More config.h cleanups.
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
/* $Id: inet_aton.c,v 1.16 1999/02/07 22:07:02 tgl Exp $
|
/* $Id: inet_aton.c,v 1.17 1999/07/17 04:12:09 momjian Exp $
|
||||||
*
|
*
|
||||||
* This inet_aton() function was taken from the GNU C library and
|
* This inet_aton() function was taken from the GNU C library and
|
||||||
* incorporated into Postgres for those systems which do not have this
|
* incorporated into Postgres for those systems which do not have this
|
||||||
@ -42,12 +42,12 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE. */
|
* SUCH DAMAGE. */
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Check whether "cp" is a valid ascii representation
|
* Check whether "cp" is a valid ascii representation
|
||||||
* of an Internet address and convert to a binary address.
|
* of an Internet address and convert to a binary address.
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: c.h,v 1.59 1999/07/13 20:00:32 momjian Exp $
|
* $Id: c.h,v 1.60 1999/07/17 04:12:09 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -46,6 +46,10 @@
|
|||||||
on some platforms, and we only want our definitions used if stdlib.h doesn't
|
on some platforms, and we only want our definitions used if stdlib.h doesn't
|
||||||
have its own. The same goes for stddef and stdarg if present.
|
have its own. The same goes for stddef and stdarg if present.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#ifdef STDC_HEADERS
|
#ifdef STDC_HEADERS
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
@ -103,12 +107,6 @@ typedef bool *BoolPtr;
|
|||||||
* ----------------------------------------------------------------
|
* ----------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
* We used to define const, signed, volatile, and inline as empty
|
|
||||||
* if __STDC__ wasn't defined. Now we let configure test whether
|
|
||||||
* those keywords work; config.h defines them as empty if not.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* CppAsString
|
* CppAsString
|
||||||
* Convert the argument to a string, using the C preprocessor.
|
* Convert the argument to a string, using the C preprocessor.
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1995, Regents of the University of California
|
* Copyright (c) 1995, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: postgres.h,v 1.25 1999/07/16 17:07:24 momjian Exp $
|
* $Id: postgres.h,v 1.26 1999/07/17 04:12:10 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -36,9 +36,6 @@
|
|||||||
#define POSTGRES_H
|
#define POSTGRES_H
|
||||||
|
|
||||||
#include "postgres_ext.h"
|
#include "postgres_ext.h"
|
||||||
#ifndef WIN32
|
|
||||||
#include "config.h"
|
|
||||||
#endif
|
|
||||||
#include "c.h"
|
#include "c.h"
|
||||||
#include "utils/elog.h"
|
#include "utils/elog.h"
|
||||||
#include "utils/mcxt.h"
|
#include "utils/mcxt.h"
|
||||||
|
Reference in New Issue
Block a user