Commit e515c3b1 authored by Bruce Momjian's avatar Bruce Momjian

Properly include port file for Cygwin.

parent 74248ad6
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * 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 @@ ...@@ -52,7 +52,7 @@
#include "pg_config.h" #include "pg_config.h"
#include "pg_config_manual.h" /* must be after 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 */ #include "pg_config_os.h" /* must be before any system header files */
#endif #endif
#include "postgres_ext.h" #include "postgres_ext.h"
...@@ -75,7 +75,8 @@ ...@@ -75,7 +75,8 @@
#include <SupportDefs.h> #include <SupportDefs.h>
#endif #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 */ /* We have to redefine some system functions after they are included above */
#include "pg_config_os.h" #include "pg_config_os.h"
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment