summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0f7affe)
raw | patch | inline | side by side (parent: 0f7affe)
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) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@453 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_open.c | patch | blob | history |
diff --git a/src/rrd_open.c b/src/rrd_open.c
index de8c9d0944f2d7fe54ae1b062c01facbae638e02..98a52e001b6322c28b6768bf400b9d60eefbdf0d 100644 (file)
--- a/src/rrd_open.c
+++ b/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+";