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

Commitc9f8c2f

Browse files
committed
Revert to 7.3-and-before practice of only including <fcntl.h> in c.h
on Windows; per complaint from Andreas that it breaks AIX build.
1 parent10add9d commitc9f8c2f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/include/c.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
1313
* Portions Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $Id: c.h,v 1.155 2003/10/14 19:08:00 momjian Exp $
15+
* $Id: c.h,v 1.156 2003/10/21 15:32:58 tgl Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -68,7 +68,9 @@
6868
#include<sys/types.h>
6969

7070
#include<errno.h>
71+
#if defined(__CYGWIN__)|| defined(WIN32)
7172
#include<fcntl.h>/* ensure O_BINARY is available */
73+
#endif
7274
#ifdefHAVE_SUPPORTDEFS_H
7375
#include<SupportDefs.h>
7476
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp