Skip to content

Commit e515c3b

Browse files
committed
Properly include port file for Cygwin.
1 parent 74248ad commit e515c3b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/include/c.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
1313
* Portions Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $PostgreSQL: pgsql/src/include/c.h,v 1.169 2004/09/09 00:59:41 momjian Exp $
15+
* $PostgreSQL: pgsql/src/include/c.h,v 1.170 2004/09/10 15:20:19 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -52,7 +52,7 @@
5252

5353
#include "pg_config.h"
5454
#include "pg_config_manual.h" /* must be after pg_config.h */
55-
#ifndef WIN32
55+
#if !defined(WIN32) || !defined(__CYGWIN__)
5656
#include "pg_config_os.h" /* must be before any system header files */
5757
#endif
5858
#include "postgres_ext.h"
@@ -75,7 +75,8 @@
7575
#include <SupportDefs.h>
7676
#endif
7777

78-
#if defined(WIN32) && !defined(_MSC_VER) && !defined(__BORLANDC__)
78+
#if (defined(WIN32) || defined(__CYGWIN__)) && \
79+
!defined(_MSC_VER) && !defined(__BORLANDC__)
7980
/* We have to redefine some system functions after they are included above */
8081
#include "pg_config_os.h"
8182
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy