msvc-inval: port to mingw-w64
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 16 Jun 2013 00:24:24 +0000 (17:24 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 16 Jun 2013 00:24:44 +0000 (17:24 -0700)
* 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>.

ChangeLog
lib/msvc-inval.c

index 06777de..3c3794f 100644 (file)
--- 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
index ef2b860..1873e23 100644 (file)
@@ -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 @@ gl_msvc_invalid_parameter_handler (const wchar_t *expression,
 
 #  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 @@ gl_msvc_inval_current (void)
     }
 }
 
-static void cdecl
+static void __cdecl
 gl_msvc_invalid_parameter_handler (const wchar_t *expression,
                                    const wchar_t *function,
                                    const wchar_t *file,