Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite515c3b

Browse files
committed
Properly include port file for Cygwin.
1 parent74248ad commite515c3b

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-
#ifndefWIN32
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)

[8]ページ先頭

©2009-2025 Movatter.jp