diff --git a/pcsx2/PrecompiledHeader.h b/pcsx2/PrecompiledHeader.h index f955a84d61..5859eee8dd 100644 --- a/pcsx2/PrecompiledHeader.h +++ b/pcsx2/PrecompiledHeader.h @@ -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