mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-28 02:20:04 +01:00
Merge branch 'mcatanzaro/cast-checks-oopsie' into 'main'
Fix build when G_DISABLE_CAST_CHECKS is defined to empty string See merge request GNOME/glib!2967
This commit is contained in:
commit
9164fdcbbb
@ -2501,7 +2501,7 @@ const gchar * g_type_name_from_class (GTypeClass *g_class);
|
||||
|
||||
|
||||
/* --- implementation bits --- */
|
||||
#if (defined(G_DISABLE_CAST_CHECKS) && G_DISABLE_CAST_CHECKS != 0) || (!defined(G_DISABLE_CAST_CHECKS) && defined(__OPTIMIZE__))
|
||||
#if defined(G_DISABLE_CAST_CHECKS) || defined(__OPTIMIZE__)
|
||||
# define _G_TYPE_CIC(ip, gt, ct) ((ct*) ip)
|
||||
# define _G_TYPE_CCC(cp, gt, ct) ((ct*) cp)
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user