]> granicus.if.org Git - postgresql/commitdiff
Move WIN32_ONLY_COMPILER define from c.h to win32.h because it was being
authorBruce Momjian <bruce@momjian.us>
Tue, 3 Oct 2006 03:59:22 +0000 (03:59 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 3 Oct 2006 03:59:22 +0000 (03:59 +0000)
defined too late.

src/include/c.h
src/include/port/win32.h

index 0feedf69ee35effea912ee1861dbe0c6571b4406..5904c34e6fa060294deacb7a99af4c3be9ba434b 100644 (file)
@@ -12,7 +12,7 @@
  * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/c.h,v 1.211 2006/08/10 01:41:29 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/c.h,v 1.212 2006/10/03 03:59:22 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include "postgres_ext.h"
 #include "pg_trace.h"
 
-#if defined(_MSC_VER) || defined(__BORLANDC__)
-#define        WIN32_ONLY_COMPILER
 #if defined(__BORLANDC__) || (_MSC_VER > 1400)
 #include <crtdefs.h>
 #endif
-#endif
 
 #include <stdio.h>
 #include <stdlib.h>
index b3e4311b3a632cd37bce567331e86e5cf5e2691c..1216f3ac6e36fb9b045e57e8b8481d267899df5f 100644 (file)
@@ -1,4 +1,8 @@
-/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.59 2006/09/16 13:35:49 tgl Exp $ */
+/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.60 2006/10/03 03:59:22 momjian Exp $ */
+
+#if defined(_MSC_VER) || defined(__BORLANDC__)
+#define        WIN32_ONLY_COMPILER
+#endif
 
 /* undefine and redefine after #include */
 #undef mkdir