You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
939 B
27 lines
939 B
This file is part of MXE. See LICENSE.md for licensing information.
|
|
|
|
Contains ad hoc patches for cross building.
|
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Tony Theodore <tonyt@logyst.com>
|
|
Date: Sat, 18 Nov 2017 21:47:35 +1100
|
|
Subject: [PATCH 1/1] fixes
|
|
|
|
|
|
diff --git a/mingw-w64-tools/widl/include/windef.h b/mingw-w64-tools/widl/include/windef.h
|
|
index 8e8a08a..3d50e13 100644
|
|
--- a/mingw-w64-tools/widl/include/windef.h
|
|
+++ b/mingw-w64-tools/widl/include/windef.h
|
|
@@ -101,7 +101,7 @@ extern "C" {
|
|
#endif /* __cdecl */
|
|
|
|
#ifndef __ms_va_list
|
|
-# if (defined(__x86_64__) || defined(__aarch64__)) && defined (__GNUC__)
|
|
+# if (defined(__x86_64__) || defined(__aarch64__)) && 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)
|
|
--
|
|
2.17.1
|
|
|