summaryrefslogtreecommitdiff
path: root/src/include/c.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/c.h')
-rw-r--r--src/include/c.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/c.h b/src/include/c.h
index f8df3a434c9..6f3c690fbc9 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.146 2003/05/15 23:39:27 tgl Exp $
+ * $Id: c.h,v 1.147 2003/05/16 01:57:51 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -52,7 +52,9 @@
#include "pg_config.h"
#include "pg_config_manual.h" /* must be after pg_config.h */
+#ifndef WIN32
#include "pg_config_os.h" /* must be before any system header files */
+#endif
#include "postgres_ext.h"
#include <stdio.h>
@@ -71,6 +73,11 @@
#include <SupportDefs.h>
#endif
+#ifdef WIN32
+/* We have to redefine some system functions after they are included above */
+#include "pg_config_os.h"
+#endif
+
/* Must be before gettext() games below */
#include <locale.h>