1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-22 04:35:58 -04:00

Fix test compilation on old glib

e.g. Debian 7
This commit is contained in:
ailin-nemui 2018-04-24 14:00:30 +02:00 committed by GitHub
parent e19d6ee219
commit 3075cbc6fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -165,7 +165,9 @@ int main(int argc, char **argv)
server_destroy_flood_set_up, test_server_destroy_flood,
server_destroy_flood_tear_down);
#if GLIB_CHECK_VERSION(2,38,0)
g_test_set_nonfatal_assertions();
#endif
core_preinit(*argv);
irssi_gui = IRSSI_GUI_NONE;