Note, i686-cygwin doesn't use thiscall.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217234
91177308-0d34-0410-b5e6-
96231b3b80d8
}
namespace dr547 { // dr547: yes
- // When targeting the MS ABI, the type of a member function includes a
+ // When targeting the MS x86 ABI, the type of a member function includes a
// __thiscall qualifier. This is non-conforming, but we still implement
// the intent of dr547
-#if defined(_M_IX86) || defined(__MINGW32__) || defined(__MINGW64__)
+#if defined(_M_IX86) || (defined(__MINGW32__) && !defined(__MINGW64__))
#define THISCALL __thiscall
#else
#define THISCALL