mingw-glib2/glib-commit-b972018.patch

25 lines
691 B
Diff

From b972018d6c252c4afb1375e5c4e9910e79af2e70 Mon Sep 17 00:00:00 2001
From: Marc-André Lureau <marcandre.lureau@gmail.com>
Date: Mon, 15 Apr 2013 16:12:50 +0000
Subject: win32: add back missing _utf8 symbols on x64 builds
The _utf8 functions have been wrongly removed from GLib on x64.
https://bugzilla.gnome.org/show_bug.cgi?id=697879
---
diff --git a/glib/gutils.c b/glib/gutils.c
index 76f6c34..0de954e 100644
--- a/glib/gutils.c
+++ b/glib/gutils.c
@@ -2354,7 +2354,7 @@ g_format_size_for_display (goffset size)
}
}
-#if defined (G_OS_WIN32) && !defined (_WIN64)
+#if defined (G_OS_WIN32)
/* Binary compatibility versions. Not for newly compiled code. */
--
cgit v0.9.1