mirror of https://github.com/PCSX2/pcsx2.git
plugin: restore sprintf_s on windows and hopefully fix vs201n compilation
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5684 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
3c7167be50
commit
d9af23c946
|
@ -18,6 +18,9 @@
|
|||
#include "CDVD.h"
|
||||
#include "svnrev.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define snprintf sprintf_s
|
||||
#endif
|
||||
static char libraryName[256];
|
||||
|
||||
const unsigned char version = PS2E_CDVD_VERSION;
|
||||
|
|
|
@ -27,6 +27,9 @@ const u8 version = PS2E_FW_VERSION;
|
|||
const u8 revision = 0;
|
||||
const u8 build = 7; // increase that with each version
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define snprintf sprintf_s
|
||||
#endif
|
||||
static char libraryName[256];
|
||||
|
||||
string s_strIniPath="inis";
|
||||
|
|
|
@ -25,6 +25,9 @@ const u8 version = PS2E_PAD_VERSION;
|
|||
const u8 revision = 0;
|
||||
const u8 build = 1; // increase that with each version
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define snprintf sprintf_s
|
||||
#endif
|
||||
static char libraryName[256];
|
||||
string s_strIniPath="inis";
|
||||
string s_strLogPath="logs";
|
||||
|
|
|
@ -25,6 +25,9 @@ const unsigned char version = PS2E_USB_VERSION;
|
|||
const unsigned char revision = 0;
|
||||
const unsigned char build = 7; // increase that with each version
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define snprintf sprintf_s
|
||||
#endif
|
||||
static char libraryName[256];
|
||||
|
||||
USBcallback USBirq;
|
||||
|
|
|
@ -37,6 +37,9 @@ const unsigned char version = PS2E_DEV9_VERSION;
|
|||
const unsigned char revision = 0;
|
||||
const unsigned char build = 5; // increase that with each version
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define snprintf sprintf_s
|
||||
#endif
|
||||
static char libraryName[256];
|
||||
|
||||
// Our IRQ call.
|
||||
|
|
|
@ -31,6 +31,9 @@
|
|||
#ifdef __LINUX__
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef _MSC_VER
|
||||
#define snprintf sprintf_s
|
||||
#endif
|
||||
|
||||
PADconf* conf;
|
||||
char libraryName[256];
|
||||
|
|
|
@ -22,6 +22,9 @@
|
|||
|
||||
#include "svnrev.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define snprintf sprintf_s
|
||||
#endif
|
||||
// PCSX2 expects ASNI, not unicode, so this MUST always be char...
|
||||
static char libraryName[256];
|
||||
|
||||
|
|
Loading…
Reference in New Issue