#include #include #include #define _GNU_SOURCE /* See feature_test_macros(7) */ #include #include "wrappedlibs.h" #include "debug.h" #include "wrapper.h" #include "bridge.h" #include "librarian/library_private.h" #include "x64emu.h" const char* gmodule2Name = "libgmodule-2.0.so.0"; #define LIBNAME gmodule2 #define PRE_INIT \ if(box64_nogtk) \ return -1; #define CUSTOM_INIT \ lib->priv.w.needed = 1; \ lib->priv.w.neededlibs = (char**)calloc(lib->priv.w.needed, sizeof(char*)); \ lib->priv.w.neededlibs[0] = strdup("libglib-2.0.so.0"); #include "wrappedlib_init.h"