From a3f32f5a1f6c5c58a3028aca1e4b6ae5472e76b6 Mon Sep 17 00:00:00 2001 From: oetiker Date: Tue, 22 Nov 2011 15:28:45 +0000 Subject: [PATCH] fix ifdef use git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2211 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_tool.c b/src/rrd_tool.c index 0748d92..d46d195 100644 --- a/src/rrd_tool.c +++ b/src/rrd_tool.c @@ -416,7 +416,7 @@ int main( 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 -- 2.11.0