Fix compilation errors in zlib and linuz-cdvdiso (plugin)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2796 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2010-03-30 19:22:42 +00:00
parent f2c11e23ad
commit 05ccea99ce
2 changed files with 11 additions and 4 deletions

View File

@ -95,7 +95,6 @@
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="_CRT_NONSTDC_NO_WARNINGS"
RuntimeLibrary="0"
WarningLevel="3"
/>
<Tool
@ -300,4 +299,4 @@
</Files>
<Globals>
</Globals>
</VisualStudioProject>
</VisualStudioProject>

View File

@ -1,8 +1,16 @@
#define __USE_LARGEFILE64
#define __USE_FILE_OFFSET64
#define _FILE_OFFSET_BITS 64
#define _LARGEFILE_SOURCE
#define _LARGEFILE64_SOURCE
#ifdef __GNUC__
# ifndef _LARGEFILE_SOURCE
# define _LARGEFILE_SOURCE
# endif
# ifndef _LARGEFILE64_SOURCE
# define _LARGEFILE64_SOURCE
# endif
#endif
#ifdef _WIN32
#include <windows.h>