mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01: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
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
#if __cplusplus >= 201103L
|
||||
g_test_init (&argc, &argv, nullptr);
|
||||
#else
|
||||
g_test_init (&argc, &argv, NULL);
|
||||
#endif
|
||||
|
||||
g_test_add_func ("/C++/typeof", test_typeof);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user