]> git.lyx.org Git - features.git/commitdiff
do not compiler iowin32.* on Non-Windows
authorAndré Pönitz <poenitz@gmx.net>
Thu, 23 Aug 2007 19:01:46 +0000 (19:01 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Thu, 23 Aug 2007 19:01:46 +0000 (19:01 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19757 a592a061-630c-0410-9148-cb99ea01b6c8

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

index 39bda3ef48f70008c516010be36b5de581349e08..9111f7dc73a5dc2228f0bd6a4eaabfbc29bbc5b9 100644 (file)
@@ -7,6 +7,8 @@
    Copyright (C) 1998-2005 Gilles Vollant
 */
 
+#ifdef WIN32
+
 #include <stdlib.h>
 
 #include "zlib.h"
@@ -257,3 +259,5 @@ void fill_win32_filefunc(zlib_filefunc_def * pzlib_filefunc_def)
     pzlib_filefunc_def->zerror_file = win32_error_file_func;
     pzlib_filefunc_def->opaque=NULL;
 }
+
+#endif
index a3a437adf84ab73b56433550c68fd1548ff4d1cc..ba56ca5fc5bef04a45cd3257f6b673599e49b347 100644 (file)
@@ -7,6 +7,8 @@
    Copyright (C) 1998-2005 Gilles Vollant
 */
 
+#ifdef WIN32
+
 #include <windows.h>
 
 
@@ -19,3 +21,5 @@ void fill_win32_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def));
 #ifdef __cplusplus
 }
 #endif
+
+#endif