]> granicus.if.org Git - postgresql/commitdiff
At this rate, maybe next year sometime I'll get this done...
authorMarc G. Fournier <scrappy@hub.org>
Tue, 27 Aug 1996 07:32:33 +0000 (07:32 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Tue, 27 Aug 1996 07:32:33 +0000 (07:32 +0000)
Goals: reduce the difficulty of porting from platform to platform,
       release to release, but moving as much as possible into config.h

src/backend/utils/adt/acl.c
src/backend/utils/adt/arrayfuncs.c
src/backend/utils/adt/datetimes.c
src/backend/utils/adt/filename.c
src/backend/utils/adt/float.c

index 289b4575c7b77a1e77c541c5896fbaf3e06e62b5..7e625987fe7f553c0a97fb8bab9ed5d4c250d0f3 100644 (file)
@@ -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"
index a8f7089880592709cd61e86f6589dcaa34508962..acaeeb067c89f0ae8314b67417882bbaf29aa9dd 100644 (file)
@@ -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>
 
index 0650169dcc730d446210ee286519aab750cbe05b..dee0147d0f2fff8626648fe7cb32253a6f539a2e 100644 (file)
@@ -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)
-#else
-#define CHECK_DATE_LEN(datestr) (strlen(datestr) == 10)
-#endif /* USE_SHORT_YEAR */
+# 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) 1
+# define CHECK_DATE_LEN(datestr) 1
 #endif
 
 #ifdef AMERICAN_STYLE
index 21389597eb63b04c7217628093233ef81ab505a4..6f7da084bd17c7838024fe4dbae23f1e05df9833 100644 (file)
@@ -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
index 82caf28c8f4e979fcfd7a4671d6ca8ec41b1d081..4aed32a6b64c83e613b56c1fb50fa2f5aaf56387 100644 (file)
@@ -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)