diff options
author | Tony Theodore <tonyt@logyst.com> | 2014-10-29 09:57:11 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2014-10-29 09:57:11 (GMT) |
commit | ad08b86062383f768390d2b727a797167f90144f (patch) | |
tree | 79041bd1635083d4d698106852464e1c724b6737 /src/widl-1-fixes.patch | |
parent | d630888afa3f3f25dcdb3ab503ec476ea038625e (diff) | |
download | mxe-ad08b86062383f768390d2b727a797167f90144f.zip mxe-ad08b86062383f768390d2b727a797167f90144f.tar.gz mxe-ad08b86062383f768390d2b727a797167f90144f.tar.bz2 |
widl: portability fix for clang
Diffstat (limited to 'src/widl-1-fixes.patch')
-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) + |