changeset 17432:a31d597d15e9

msvc-inval: port to mingw-w64 * lib/msvc-inval.c (gl_msvc_invalid_parameter_handler): Use __cdecl, not cdecl, for mingw-w64. Reported by LRN in <http://lists.gnu.org/archive/html/bug-gnulib/2013-06/msg00039.html>.
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 15 Jun 2013 17:24:24 -0700
parents 744044c581c4
children 161070f4cae7
files ChangeLog lib/msvc-inval.c
diffstat 2 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-06-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+	msvc-inval: port to mingw-w64
+	* lib/msvc-inval.c (gl_msvc_invalid_parameter_handler):
+	Use __cdecl, not cdecl, for mingw-w64.  Reported by LRN in
+	<http://lists.gnu.org/archive/html/bug-gnulib/2013-06/msg00039.html>.
+
 2013-06-11  Paul Eggert  <eggert@cs.ucla.edu>
 
 	getcwd-lgpl: port to Tru64
--- a/lib/msvc-inval.c
+++ b/lib/msvc-inval.c
@@ -28,7 +28,7 @@
 
 # if MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING
 
-static void cdecl
+static void __cdecl
 gl_msvc_invalid_parameter_handler (const wchar_t *expression,
                                    const wchar_t *function,
                                    const wchar_t *file,
@@ -45,7 +45,7 @@
 
 #  if defined _MSC_VER
 
-static void cdecl
+static void __cdecl
 gl_msvc_invalid_parameter_handler (const wchar_t *expression,
                                    const wchar_t *function,
                                    const wchar_t *file,
@@ -94,7 +94,7 @@
     }
 }
 
-static void cdecl
+static void __cdecl
 gl_msvc_invalid_parameter_handler (const wchar_t *expression,
                                    const wchar_t *function,
                                    const wchar_t *file,