Added comment explaining redefinition of BOOL

This commit is contained in:
archshift 2014-08-06 04:15:23 -07:00
parent c911ba4747
commit 730d7ec528
1 changed files with 5 additions and 3 deletions

View File

@ -58,10 +58,12 @@
using std::min;
using std::max;
typedef int BOOL;
#undef TRUE
#undef FALSE
// 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 FALSE
#define TRUE 1
#define FALSE 0