mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
glib/tests/macros: Use #error to provide a clearer error on failures
This commit is contained in:
@@ -26,10 +26,10 @@
|
||||
|
||||
#if defined (__APPLE__) || defined (HAVE_COCOA) || defined (HAVE_CARBON)
|
||||
# ifndef G_OS_UNIX
|
||||
G_STATIC_ASSERT (FALSE);
|
||||
#error "G_OS_UNIX is not defined"
|
||||
# endif
|
||||
# ifndef G_OS_DARWIN
|
||||
G_STATIC_ASSERT (FALSE);
|
||||
#error "G_OS_DARWIN is not defined"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user