From ad08b86062383f768390d2b727a797167f90144f Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Wed, 29 Oct 2014 20:57:11 +1100 Subject: widl: portability fix for clang --- src/widl-1-fixes.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/widl-1-fixes.patch 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) + -- cgit v0.12