mirror of
https://github.com/maxDcb/C2Core
synced 2026-06-08 15:48:01 +00:00
Modules for linux
This commit is contained in:
@@ -20,8 +20,16 @@ __declspec(dllexport) Script* ScriptConstructor()
|
||||
return new Script();
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
__attribute__((visibility("default"))) Script * ScriptConstructor()
|
||||
{
|
||||
return new Script();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Script::Script()
|
||||
#ifdef BUILD_TEAMSERVER
|
||||
: ModuleCmd(std::string(moduleName), moduleHash)
|
||||
|
||||
Reference in New Issue
Block a user