Bruce Momjian wrote:
> + #ifndef WIN32
> + #define R_TEXTFILE    "r"
> + #else
> + #define R_TEXTFILE    "rb"
> + #endif

This appears to be redundant with

#if defined(__CYGWIN__) || defined(WIN32)
#define PG_BINARY       O_BINARY
#define PG_BINARY_R "rb"
#define PG_BINARY_W "wb"
#else
#define PG_BINARY       0
#define PG_BINARY_R "r"
#define PG_BINARY_W "w"
#endif

in c.h.


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to