From: Lasse Collin Date: Sat, 31 Jan 2009 08:13:09 +0000 (+0200) Subject: Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows. X-Git-Tag: upstream/5.1.3~607 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d9993fcb4dfc1f93abaf31ae23b3ef1f3123892b;p=platform%2Fupstream%2Fxz.git Use _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows. --- diff --git a/src/xzdec/xzdec.c b/src/xzdec/xzdec.c index a8d0585..d6f4252 100644 --- a/src/xzdec/xzdec.c +++ b/src/xzdec/xzdec.c @@ -23,7 +23,7 @@ #include #include -#ifdef WIN32 +#ifdef _WIN32 # include #endif @@ -407,7 +407,7 @@ main(int argc, char **argv) lzma_stream strm = LZMA_STREAM_INIT; // Some systems require setting stdin and stdout to binary mode. -#ifdef WIN32 +#ifdef _WIN32 setmode(fileno(stdin), O_BINARY); setmode(fileno(stdout), O_BINARY); #endif