mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 01:36:17 +01:00
Visual Studio builds: Visual Studio 2013 and later has va_copy()
Update config.h.win32.in and glib/glibconfig.h.win32.in to indicate so.
This commit is contained in:
parent
951fd642dc
commit
ad49479265
@ -56,9 +56,9 @@
|
|||||||
#define GLIB_MINOR_VERSION @GLIB_MINOR_VERSION@
|
#define GLIB_MINOR_VERSION @GLIB_MINOR_VERSION@
|
||||||
|
|
||||||
/* A 'va_copy' style function */
|
/* A 'va_copy' style function */
|
||||||
#ifndef _MSC_VER
|
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||||
#define G_VA_COPY va_copy
|
#define G_VA_COPY va_copy
|
||||||
#else /* _MSC_VER */
|
#else /* _MSC_VER && _MSC_VER < 1800 */
|
||||||
/* #undef G_VA_COPY */
|
/* #undef G_VA_COPY */
|
||||||
#endif /* _MSC_VER */
|
#endif /* _MSC_VER */
|
||||||
|
|
||||||
|
@ -168,9 +168,9 @@ typedef unsigned __int64 guintptr;
|
|||||||
#define G_PLATFORM_WIN32
|
#define G_PLATFORM_WIN32
|
||||||
@GLIB_WIN32_STATIC_COMPILATION_DEFINE@
|
@GLIB_WIN32_STATIC_COMPILATION_DEFINE@
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
#if !defined (_MSC_VER) || (_MSC_VER >= 1800)
|
||||||
#define G_VA_COPY va_copy
|
#define G_VA_COPY va_copy
|
||||||
#endif /* not _MSC_VER */
|
#endif /* not _MSC_VER or 2013 or later */
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
#ifndef _MSC_VER
|
||||||
#define G_HAVE_ISO_VARARGS 1
|
#define G_HAVE_ISO_VARARGS 1
|
||||||
|
Loading…
Reference in New Issue
Block a user