do not compiler iowin32.* on Non-Windows

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19757 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-08-23 19:01:46 +00:00
parent 6e93e77f22
commit 50d78265aa
2 changed files with 8 additions and 0 deletions

View 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

View 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