Commit 58785757 authored by Bruce Momjian's avatar Bruce Momjian

More cleanup of c.h binary macros

parent a305c7d6
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California * 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,...); ...@@ -897,11 +897,11 @@ extern char *vararg_format(const char *fmt,...);
*/ */
#ifdef __CYGWIN32__ #ifdef __CYGWIN32__
#define PG_BINARY 0 #define PG_BINARY O_BINARY
#define PG_BINARY_R "rb" #define PG_BINARY_R "rb"
#define PG_BINARY_W "wb" #define PG_BINARY_W "wb"
#else #else
#define PG_BINARY O_BINARY #define PG_BINARY 0
#define PG_BINARY_R "r" #define PG_BINARY_R "r"
#define PG_BINARY_W "w" #define PG_BINARY_W "w"
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment