diff options
author | Bruce Momjian | 2004-09-09 00:59:49 +0000 |
---|---|---|
committer | Bruce Momjian | 2004-09-09 00:59:49 +0000 |
commit | f1d11161780670174e1363e3962ed006a89f19fc (patch) | |
tree | 3c5fe0926049b428891f347084b734029b97c2e9 /src/include/c.h | |
parent | b70999d0fd9a43288842f27b10cf317144ac9ff1 (diff) |
Fix Cygwin defines to be consistent.
Diffstat (limited to 'src/include/c.h')
-rw-r--r-- | src/include/c.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/c.h b/src/include/c.h index 7c3e856834a..3f517a0fbe9 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.168 2004/08/29 05:06:55 momjian Exp $ + * $PostgreSQL: pgsql/src/include/c.h,v 1.169 2004/09/09 00:59:41 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -68,7 +68,7 @@ #include <sys/types.h> #include <errno.h> -#if defined(__CYGWIN__) || defined(WIN32) +#if defined(WIN32) || defined(__CYGWIN__) #include <fcntl.h> /* ensure O_BINARY is available */ #endif #ifdef HAVE_SUPPORTDEFS_H @@ -680,7 +680,7 @@ typedef NameData *Name; * literal control-Z. The other affect is that we see CRLF, but * that is OK because we can already handle those cleanly. */ -#if defined(__CYGWIN__) || defined(WIN32) +#if defined(WIN32) || defined(__CYGWIN__) #define PG_BINARY O_BINARY #define PG_BINARY_R "rb" #define PG_BINARY_W "wb" |