Make G_ASSERT_STATIC work with clang
authorRyan Lortie <desrt@desrt.ca>
Tue, 4 Oct 2011 15:52:47 +0000 (11:52 -0400)
committerRyan Lortie <desrt@desrt.ca>
Tue, 4 Oct 2011 15:52:47 +0000 (11:52 -0400)
commite517fb6cb030c678918932aad5c0e63b4e0b1beb
tree946ec77e0510c32eb4a274ee9d4737317c9444a1
parent7d4dea748d74a648989fe5d62361c1b151725f61
Make G_ASSERT_STATIC work with clang

A simplified variant of an approach proposed by Behdad.

https://bugzilla.gnome.org/show_bug.cgi?id=660413
glib/gmacros.h