mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-22 23:29:16 +02:00
Merge branch 'fix-cxx-test-muslc' into 'main'
glib/tests: Fix NULL reference on >= C++11 Closes #2582 See merge request GNOME/glib!2439
This commit is contained in:
commit
185e0565e0
@ -56,7 +56,11 @@ test_typeof (void)
|
|||||||
int
|
int
|
||||||
main (int argc, char *argv[])
|
main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
#if __cplusplus >= 201103L
|
||||||
|
g_test_init (&argc, &argv, nullptr);
|
||||||
|
#else
|
||||||
g_test_init (&argc, &argv, NULL);
|
g_test_init (&argc, &argv, NULL);
|
||||||
|
#endif
|
||||||
|
|
||||||
g_test_add_func ("/C++/typeof", test_typeof);
|
g_test_add_func ("/C++/typeof", test_typeof);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user