linux entry

This commit is contained in:
simplxs 2024-06-29 21:05:48 +08:00
parent 33c210b7e0
commit d170484afe
No known key found for this signature in database
GPG Key ID: 1A3833A46D84A08C

View File

@ -63,7 +63,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved)
return TRUE;
}
#elif defined(_MAC_PLATFORM_) || defined(_LINUX_PLATFORM_)
int main()
void __attribute__((constructor)) my_init(void)
{
init();
}