From: Paul Eggert Date: Sun, 16 Jun 2013 00:24:24 +0000 (-0700) Subject: msvc-inval: port to mingw-w64 X-Git-Tag: v0.1~108 X-Git-Url: http://erislabs.net/gitweb/?p=gnulib.git;a=commitdiff_plain;h=86725346a1b116f3c2da26c124288f5f4495bf69 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 . --- diff --git a/ChangeLog b/ChangeLog index 06777dec3..3c3794fb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2013-06-15 Paul Eggert + + 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 + . + 2013-06-11 Paul Eggert getcwd-lgpl: port to Tru64 diff --git a/lib/msvc-inval.c b/lib/msvc-inval.c index ef2b86094..1873e23be 100644 --- 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 @@ 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,