Fix Windows build of pcsx2 and Linux build of CDVDiso.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@492 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
arcum42 2008-12-25 09:02:49 +00:00 committed by Gregory Hainaut
parent cf9eaae693
commit 092110eb06
2 changed files with 8 additions and 0 deletions

View File

@ -20,7 +20,11 @@
#define _SAVESTATE_H_
#include <zlib.h>
// This shouldn't break Win compiles, but it does.
#ifdef __LINUX__
#include "PS2Edefs.h"
#endif
// Savestate Versioning!
// If you make changes to the savestate version, please increment the value below.

View File

@ -25,7 +25,11 @@
#include "PS2Edefs.h"
#include "libiso.h"
#ifndef __LINUX__
#define EXPORT_C(type) __declspec(dllexport) type __stdcall
#else
#define EXPORT_C(type) type
#endif
EXPORT_C(u32) PS2EgetLibType();
EXPORT_C(u32) PS2EgetLibVersion2(u32 type);