aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-09-10 15:20:19 +0000
committerBruce Momjian <bruce@momjian.us>2004-09-10 15:20:19 +0000
commite515c3b13ef6ffd2f1b4ec1845739845bd01ac91 (patch)
treeb028fb2cddf09896870e95305e46939e25c20ab8 /src
parent74248ad67359f12ee509a0b87b01ce1da6b8483c (diff)
downloadpostgresql-e515c3b13ef6ffd2f1b4ec1845739845bd01ac91.tar.gz
postgresql-e515c3b13ef6ffd2f1b4ec1845739845bd01ac91.zip
Properly include port file for Cygwin.
Diffstat (limited to 'src')
-rw-r--r--src/include/c.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/c.h b/src/include/c.h
index 3f517a0fbe9..f2530d10013 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/c.h,v 1.169 2004/09/09 00:59:41 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/c.h,v 1.170 2004/09/10 15:20:19 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -52,7 +52,7 @@
#include "pg_config.h"
#include "pg_config_manual.h" /* must be after pg_config.h */
-#ifndef WIN32
+#if !defined(WIN32) || !defined(__CYGWIN__)
#include "pg_config_os.h" /* must be before any system header files */
#endif
#include "postgres_ext.h"
@@ -75,7 +75,8 @@
#include <SupportDefs.h>
#endif
-#if defined(WIN32) && !defined(_MSC_VER) && !defined(__BORLANDC__)
+#if (defined(WIN32) || defined(__CYGWIN__)) && \
+ !defined(_MSC_VER) && !defined(__BORLANDC__)
/* We have to redefine some system functions after they are included above */
#include "pg_config_os.h"
#endif