mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-14 05:16:18 +01:00
tests: Fix a pragma warning on FreeBSD
This fixes the following warning, by making the compiler checks for the `pop` match those for the `push`: ``` [221/1124] Compiling C object 'glib/tests/d796b50@@mem-overflow@exe/mem-overflow.c.o'. ../glib/tests/mem-overflow.c:204:24: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma GCC diagnostic pop ``` Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
5558c668a9
commit
f9a24ced63
@ -200,7 +200,7 @@ empty_alloc (void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#if defined(__GNUC__) && __GNUC__ > 6
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user