diff --git a/src/include/c.h b/src/include/c.h index 3f517a0fbe..f2530d1001 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 #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