At this rate, maybe next year sometime I'll get this done...
Goals: reduce the difficulty of porting from platform to platform, release to release, but moving as much as possible into config.h
This commit is contained in:
parent
e733befeed
commit
321b8c80fd
@ -7,10 +7,13 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.1.1.1 1996/07/09 06:22:02 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.2 1996/08/27 07:32:25 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include "postgres.h"
|
||||
|
@ -7,10 +7,13 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.3 1996/07/22 21:56:00 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.4 1996/08/27 07:32:27 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
@ -7,10 +7,12 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/datetimes.c,v 1.2 1996/07/19 07:19:56 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/datetimes.c,v 1.3 1996/08/27 07:32:30 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h> /* for sprintf() */
|
||||
#include <string.h>
|
||||
#include "postgres.h"
|
||||
@ -58,13 +60,13 @@ date_in(char *datestr)
|
||||
DateADT *date = (DateADT*)&result;
|
||||
|
||||
#if 0
|
||||
#ifdef USE_SHORT_YEAR
|
||||
#define CHECK_DATE_LEN(datestr) (strlen(datestr) >= 8)
|
||||
# ifdef USE_SHORT_YEAR
|
||||
# define CHECK_DATE_LEN(datestr) (strlen(datestr) >= 8)
|
||||
# else
|
||||
# define CHECK_DATE_LEN(datestr) (strlen(datestr) == 10)
|
||||
# endif /* USE_SHORT_YEAR */
|
||||
#else
|
||||
#define CHECK_DATE_LEN(datestr) (strlen(datestr) == 10)
|
||||
#endif /* USE_SHORT_YEAR */
|
||||
#else
|
||||
#define CHECK_DATE_LEN(datestr) 1
|
||||
# define CHECK_DATE_LEN(datestr) 1
|
||||
#endif
|
||||
|
||||
#ifdef AMERICAN_STYLE
|
||||
|
@ -7,10 +7,13 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/filename.c,v 1.1.1.1 1996/07/09 06:22:04 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/Attic/filename.c,v 1.2 1996/08/27 07:32:32 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#ifndef WIN32
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.3 1996/08/19 13:52:35 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.4 1996/08/27 07:32:33 scrappy Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -1275,7 +1275,9 @@ static int isinf(x)
|
||||
}
|
||||
#endif /* PORTNAME_alpha */
|
||||
|
||||
#if defined(PORTNAME_sparc_solaris)||defined(PORTNAME_i386_solaris) || defined(PORTNAME_svr4)
|
||||
#if defined(sparc_solaris) ||
|
||||
defined(i386_solaris) ||
|
||||
defined(PORTNAME_svr4)
|
||||
#include <ieeefp.h>
|
||||
static int
|
||||
isinf(d)
|
||||
|
Loading…
x
Reference in New Issue
Block a user