summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorРуслан Ижбулатов <lrn1986@gmail.com>2017-01-19 18:53:34 +0000
committerРуслан Ижбулатов <lrn1986@gmail.com>2018-05-28 08:48:06 +0000
commitd5f1da8c398267a698b99251f9b7c2a3b857c14d (patch)
tree94ed1183b95df9880daf78adf3eb6f08ac4c7ee5
parent0bc1e98af6f6ed2f4a5f05f495b0c9a001dc370f (diff)
downloadglib-lrn/issue-1240_glib-2-56.tar.gz
W32: Make _g_win32_get_system_data_dirs() inline available in C++lrn/issue-1240_glib-2-56
This way g_get_system_data_dirs() works the same way in C and C++. https://bugzilla.gnome.org/show_bug.cgi?id=777501 Closes #1240
-rw-r--r--glib/gutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gutils.h b/glib/gutils.h
index 52b6297dc..b301e93c2 100644
--- a/glib/gutils.h
+++ b/glib/gutils.h
@@ -83,7 +83,7 @@ GLIB_AVAILABLE_IN_ALL
const gchar * const * g_win32_get_system_data_dirs_for_module (void (*address_of_function)(void));
#endif
-#if defined (G_OS_WIN32) && defined (G_CAN_INLINE) && !defined (__cplusplus)
+#if defined (G_OS_WIN32) && defined (G_CAN_INLINE)
/* This function is not part of the public GLib API either. Just call
* g_get_system_data_dirs() in your code, never mind that that is
* actually a macro and you will in fact call this inline function.