]> granicus.if.org Git - postgresql/commitdiff
More cleanup of c.h binary macros
authorBruce Momjian <bruce@momjian.us>
Fri, 2 Jun 2000 16:40:09 +0000 (16:40 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 2 Jun 2000 16:40:09 +0000 (16:40 +0000)
src/include/c.h

index c76d02f3ac2062c4dc4e48b3a65c820a1a07e4b5..4e981f92384fc74bf3d491e845e5b8a00b9f96f3 100644 (file)
@@ -8,7 +8,7 @@
  * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: c.h,v 1.72 2000/06/02 16:33:17 momjian Exp $
+ * $Id: c.h,v 1.73 2000/06/02 16:40:09 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -897,11 +897,11 @@ extern char *vararg_format(const char *fmt,...);
  */
 
 #ifdef __CYGWIN32__
-#define        PG_BINARY       0
+#define PG_BINARY      O_BINARY
 #define        PG_BINARY_R     "rb"
 #define        PG_BINARY_W     "wb"
 #else
-#define PG_BINARY      O_BINARY
+#define        PG_BINARY       0
 #define        PG_BINARY_R     "r"
 #define        PG_BINARY_W     "w"
 #endif