Mercurial > gub
diff patches/guile-2.0.7-lib-msvc-inval.patch @ 6512:ccc20ae889ca default tip guix
mingw::guile-2.0.7 builds.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Thu, 24 Mar 2016 08:03:39 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/guile-2.0.7-lib-msvc-inval.patch Thu Mar 24 08:03:39 2016 +0100 @@ -0,0 +1,49 @@ +diff --git a/lib/msvc-inval.c b/lib/msvc-inval.c +index 7da3541..84190d0 100644 +--- a/lib/msvc-inval.c ++++ b/lib/msvc-inval.c +@@ -1,5 +1,5 @@ + /* Invalid parameter handler for MSVC runtime libraries. +- Copyright (C) 2011-2012 Free Software Foundation, Inc. ++ Copyright (C) 2011-2014 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by +@@ -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, +diff --git a/lib/msvc-inval.h b/lib/msvc-inval.h +index ce6fcee..c6df57e 100644 +--- a/lib/msvc-inval.h ++++ b/lib/msvc-inval.h +@@ -1,5 +1,5 @@ + /* Invalid parameter handler for MSVC runtime libraries. +- Copyright (C) 2011-2012 Free Software Foundation, Inc. ++ Copyright (C) 2011-2014 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by