summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dc02300)
raw | patch | inline | side by side (parent: dc02300)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 30 Apr 2005 09:41:14 +0000 (09:41 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 30 Apr 2005 09:41:14 +0000 (09:41 +0000) |
program/src/rrd_open.c | patch | blob | history |
diff --git a/program/src/rrd_open.c b/program/src/rrd_open.c
index de8c9d0944f2d7fe54ae1b062c01facbae638e02..98a52e001b6322c28b6768bf400b9d60eefbdf0d 100644 (file)
--- a/program/src/rrd_open.c
+++ b/program/src/rrd_open.c
rrd_init(rrd);
if (rdwr == RRD_READONLY) {
-#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__)
+#if defined(WIN32)
mode = "rb";
#else
mode = "r";
#endif
} else {
-#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__CYGWIN32__)
+#if defined(WIN32)
mode = "rb+";
#else
mode = "r+";