mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
f2c11e23ad
commit
05ccea99ce
|
@ -95,7 +95,6 @@
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
PreprocessorDefinitions="_CRT_NONSTDC_NO_WARNINGS"
|
PreprocessorDefinitions="_CRT_NONSTDC_NO_WARNINGS"
|
||||||
RuntimeLibrary="0"
|
|
||||||
WarningLevel="3"
|
WarningLevel="3"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
|
@ -300,4 +299,4 @@
|
||||||
</Files>
|
</Files>
|
||||||
<Globals>
|
<Globals>
|
||||||
</Globals>
|
</Globals>
|
||||||
</VisualStudioProject>
|
</VisualStudioProject>
|
||||||
|
|
|
@ -1,8 +1,16 @@
|
||||||
#define __USE_LARGEFILE64
|
#define __USE_LARGEFILE64
|
||||||
#define __USE_FILE_OFFSET64
|
#define __USE_FILE_OFFSET64
|
||||||
#define _FILE_OFFSET_BITS 64
|
#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
|
#ifdef _WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
Loading…
Reference in New Issue