gs: fix redefinition hell on _d token concatenation

This commit is contained in:
Gauvain 'GovanifY' Roussel-Tarbouriech 2021-05-13 14:44:06 +02:00 committed by Kojin
parent 727693248d
commit d2a5e3b675
1 changed files with 8 additions and 0 deletions

View File

@ -97,12 +97,20 @@ class GSVector8i;
#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
#include "GSVector4i.h"
#include "GSVector4.h"
#include "GSVector8i.h"
#include "GSVector8.h"
#include "Utilities/Dependencies.h"
// conversion
gsforceinline GSVector4i::GSVector4i(const GSVector4& v, bool truncate)