]> git.lyx.org Git - features.git/commitdiff
support/minizip/iowin32.h|c: also test for _WIN32 because WIN32 is not defined for...
authorBo Peng <bpeng@lyx.org>
Thu, 6 Sep 2007 02:48:18 +0000 (02:48 +0000)
committerBo Peng <bpeng@lyx.org>
Thu, 6 Sep 2007 02:48:18 +0000 (02:48 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20090 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/minizip/iowin32.c
src/support/minizip/iowin32.h

index 9111f7dc73a5dc2228f0bd6a4eaabfbc29bbc5b9..6cc11776f5fc051d2c9fa731a37910f5df42f8f0 100644 (file)
@@ -7,7 +7,7 @@
    Copyright (C) 1998-2005 Gilles Vollant
 */
 
-#ifdef WIN32
+#if defined(WIN32) || defined(_WIN32)
 
 #include <stdlib.h>
 
index ba56ca5fc5bef04a45cd3257f6b673599e49b347..c6a65c73738303f7128f2ed034ae2aa216c5ac2c 100644 (file)
@@ -7,7 +7,7 @@
    Copyright (C) 1998-2005 Gilles Vollant
 */
 
-#ifdef WIN32
+#if defined(WIN32) || defined(_WIN32)
 
 #include <windows.h>