mirror of https://github.com/PCSX2/pcsx2.git
Merge pull request #197 from archshift/no-comprende
PrecompiledHeader.h: Add a comment to clarify redefinition of BOOL
This commit is contained in:
commit
98aad6ef76
|
@ -58,10 +58,12 @@
|
||||||
using std::min;
|
using std::min;
|
||||||
using std::max;
|
using std::max;
|
||||||
|
|
||||||
typedef int BOOL;
|
|
||||||
|
|
||||||
#undef TRUE
|
// As plugins which use C have to be used with PCSX2, the BOOL type is redefined
|
||||||
#undef FALSE
|
// to prevent any C/C++ compatibility issues.
|
||||||
|
typedef int BOOL;
|
||||||
|
#undef TRUE
|
||||||
|
#undef FALSE
|
||||||
#define TRUE 1
|
#define TRUE 1
|
||||||
#define FALSE 0
|
#define FALSE 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue