summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 66db297)
raw | patch | inline | side by side (parent: 66db297)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 22 Nov 2011 15:28:45 +0000 (15:28 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 22 Nov 2011 15:28:45 +0000 (15:28 +0000) |
program/src/rrd_tool.c | patch | blob | history |
diff --git a/program/src/rrd_tool.c b/program/src/rrd_tool.c
index 0748d92cad39902a780c8d34df0fe9b80638998d..d46d1959901f04c0e21affeddae2d68543b5d073 100644 (file)
--- a/program/src/rrd_tool.c
+++ b/program/src/rrd_tool.c
according to localeconv(3) */
setlocale(LC_ALL, "");
-#ifdef WIN32 && !defined(__CYGWIN__)
+#if defined(WIN32) && !defined(__CYGWIN__)
setmode(fileno(stdout), O_BINARY);
setmode(fileno(stdin), O_BINARY);
#endif