mirror of https://github.com/PCSX2/pcsx2.git
Added comment explaining redefinition of BOOL
This commit is contained in:
parent
c911ba4747
commit
730d7ec528
|
@ -58,8 +58,10 @@
|
||||||
using std::min;
|
using std::min;
|
||||||
using std::max;
|
using std::max;
|
||||||
|
|
||||||
typedef int BOOL;
|
|
||||||
|
|
||||||
|
// As plugins which use C have to be used with PCSX2, the BOOL type is redefined
|
||||||
|
// to prevent any C/C++ compatibility issues.
|
||||||
|
typedef int BOOL;
|
||||||
#undef TRUE
|
#undef TRUE
|
||||||
#undef FALSE
|
#undef FALSE
|
||||||
#define TRUE 1
|
#define TRUE 1
|
||||||
|
|
Loading…
Reference in New Issue