|
12 | 12 | * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group |
13 | 13 | * Portions Copyright (c) 1994, Regents of the University of California |
14 | 14 | * |
15 | | - * $PostgreSQL: pgsql/src/include/c.h,v 1.168 2004/08/29 05:06:55 momjian Exp $ |
| 15 | + * $PostgreSQL: pgsql/src/include/c.h,v 1.169 2004/09/09 00:59:41 momjian Exp $ |
16 | 16 | * |
17 | 17 | *------------------------------------------------------------------------- |
18 | 18 | */ |
|
68 | 68 | #include<sys/types.h> |
69 | 69 |
|
70 | 70 | #include<errno.h> |
71 | | -#if defined(__CYGWIN__)|| defined(WIN32) |
| 71 | +#if defined(WIN32)|| defined(__CYGWIN__) |
72 | 72 | #include<fcntl.h>/* ensure O_BINARY is available */ |
73 | 73 | #endif |
74 | 74 | #ifdefHAVE_SUPPORTDEFS_H |
@@ -680,7 +680,7 @@ typedef NameData *Name; |
680 | 680 | *literal control-Z.The other affect is that we see CRLF, but |
681 | 681 | *that is OK because we can already handle those cleanly. |
682 | 682 | */ |
683 | | -#if defined(__CYGWIN__)|| defined(WIN32) |
| 683 | +#if defined(WIN32)|| defined(__CYGWIN__) |
684 | 684 | #definePG_BINARYO_BINARY |
685 | 685 | #definePG_BINARY_R "rb" |
686 | 686 | #definePG_BINARY_W "wb" |
|