/* dlfcn.h para Windows (build MinGW): dlopen/dlsym/dlclose/dlerror sobre LoadLibrary/GetProcAddress, em tb_win_compat.c. */ #ifndef TB_WIN_DLFCN_H #define TB_WIN_DLFCN_H #define RTLD_LAZY 1 #define RTLD_NOW 2 #define RTLD_LOCAL 0 #define RTLD_GLOBAL 0x100 void* dlopen(const char* path, int flags); void* dlsym(void* handle, const char* name); int dlclose(void* handle); char* dlerror(void); #endif