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)
|
#if defined (__APPLE__) || defined (HAVE_COCOA) || defined (HAVE_CARBON)
|
||||||
# ifndef G_OS_UNIX
|
# ifndef G_OS_UNIX
|
||||||
G_STATIC_ASSERT (FALSE);
|
#error "G_OS_UNIX is not defined"
|
||||||
# endif
|
# endif
|
||||||
# ifndef G_OS_DARWIN
|
# ifndef G_OS_DARWIN
|
||||||
G_STATIC_ASSERT (FALSE);
|
#error "G_OS_DARWIN is not defined"
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user