Added GThread support

This commit is contained in:
Polonkai Gergely 2012-03-12 12:54:38 +00:00
parent 9e6780cded
commit 12706d7e85
2 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ fi
PKG_CHECK_MODULES([GIO], gio-2.0) PKG_CHECK_MODULES([GIO], gio-2.0)
PKG_CHECK_MODULES([GLIB], glib-2.0) PKG_CHECK_MODULES([GLIB], glib-2.0)
PKG_CHECK_MODULES([GTHREAD], gthread-2.0)
PKG_CHECK_MODULES([SQLITE3], sqlite3) PKG_CHECK_MODULES([SQLITE3], sqlite3)
AC_OUTPUT(Makefile src/Makefile) AC_OUTPUT(Makefile src/Makefile)

View File

@ -97,6 +97,7 @@ main(int argc, char **argv)
gboolean need_ipv4_socket = TRUE; gboolean need_ipv4_socket = TRUE;
GSocketListener *game_listener; GSocketListener *game_listener;
g_thread_init();
g_type_init(); g_type_init();
g_print("Starting up...\n"); g_print("Starting up...\n");