mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 21:33:09 +02: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 --- */
|
/* --- 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_CIC(ip, gt, ct) ((ct*) ip)
|
||||||
# define _G_TYPE_CCC(cp, gt, ct) ((ct*) cp)
|
# define _G_TYPE_CCC(cp, gt, ct) ((ct*) cp)
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user