mirror of https://github.com/PCSX2/pcsx2.git
gs: fix redefinition hell on _d token concatenation
This commit is contained in:
parent
727693248d
commit
d2a5e3b675
|
@ -97,12 +97,20 @@ class GSVector8i;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// _d is defined for translations in our utilities, unfortunately we do some
|
||||||
|
// input concatenation on GSVectors and end up making new tokens named _d, so we
|
||||||
|
// undefine it and reinclude our utilities to redefine its original value right
|
||||||
|
// after
|
||||||
|
#undef _d
|
||||||
|
|
||||||
// Position and order is important
|
// Position and order is important
|
||||||
#include "GSVector4i.h"
|
#include "GSVector4i.h"
|
||||||
#include "GSVector4.h"
|
#include "GSVector4.h"
|
||||||
#include "GSVector8i.h"
|
#include "GSVector8i.h"
|
||||||
#include "GSVector8.h"
|
#include "GSVector8.h"
|
||||||
|
|
||||||
|
#include "Utilities/Dependencies.h"
|
||||||
|
|
||||||
// conversion
|
// conversion
|
||||||
|
|
||||||
gsforceinline GSVector4i::GSVector4i(const GSVector4& v, bool truncate)
|
gsforceinline GSVector4i::GSVector4i(const GSVector4& v, bool truncate)
|
||||||
|
|
Loading…
Reference in New Issue