summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2003-05-15 23:39:27 +0000
committerTom Lane2003-05-15 23:39:27 +0000
commit5e04f3857c9369351edbf8f906d1d8c2665c8a1f (patch)
treed896dbb2d355eae9125d6102732996ee04bb34b7
parent9e43184b9dd2e9309c156f9657ccd66d7d537f03 (diff)
Revert change of inclusion order for pg_config_os.h; this broke plperl
on Linux and would have who knows what unpleasant effects on other platforms. If you need another include file for Windows, then add it; don't go messing with the semantics of every other port's include files.
-rw-r--r--src/include/c.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/include/c.h b/src/include/c.h
index 4daa40d5d55..f8df3a434c9 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.145 2003/05/15 16:35:29 momjian Exp $
+ * $Id: c.h,v 1.146 2003/05/15 23:39:27 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -52,6 +52,7 @@
#include "pg_config.h"
#include "pg_config_manual.h" /* must be after pg_config.h */
+#include "pg_config_os.h" /* must be before any system header files */
#include "postgres_ext.h"
#include <stdio.h>
@@ -70,9 +71,6 @@
#include <SupportDefs.h>
#endif
-/* Must be here so we can redefine some functions on Win32 */
-#include "pg_config_os.h"
-
/* Must be before gettext() games below */
#include <locale.h>