Added GThread support
This commit is contained in:
parent
9e6780cded
commit
12706d7e85
@ -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)
|
||||||
|
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user