diff options
-rw-r--r-- | src/widl-1-fixes.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/widl-1-fixes.patch b/src/widl-1-fixes.patch new file mode 100644 index 0000000..9459b5c --- /dev/null +++ b/src/widl-1-fixes.patch @@ -0,0 +1,16 @@ +This file is part of MXE. +See index.html for further information. + +diff -ur mingw-w64-v3.3.0.orig/mingw-w64-tools/widl/include/windef.h mingw-w64-v3.3.0/mingw-w64-tools/widl/include/windef.h +--- mingw-w64-v3.3.0.orig/mingw-w64-tools/widl/include/windef.h 2014-10-29 20:53:30.000000000 +1100 ++++ mingw-w64-v3.3.0/mingw-w64-tools/widl/include/windef.h 2014-10-29 20:54:09.000000000 +1100 +@@ -85,7 +85,7 @@ + #endif /* __cdecl */ + + #ifndef __ms_va_list +-# if defined(__x86_64__) && defined (__GNUC__) ++# if defined(__x86_64__) && defined (__GNUC__) && defined(__builtin_ms_va_list) + # define __ms_va_list __builtin_ms_va_list + # define __ms_va_start(list,arg) __builtin_ms_va_start(list,arg) + # define __ms_va_end(list) __builtin_ms_va_end(list) + |