From: oetiker Date: Tue, 22 Nov 2011 15:28:45 +0000 (+0000) Subject: fix ifdef use X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5312153a607f2f0066d13cf20b53330920ed7f8b;p=rrdtool-all.git fix ifdef use git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@2211 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_tool.c b/program/src/rrd_tool.c index 0748d92c..d46d1959 100644 --- a/program/src/rrd_tool.c +++ b/program/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