Renamed bot_developer to botDeveloper to prevent symbol clash.
qagame*.so has a variable named this too, and this confuses the Linux dynamic loader since we're not using -fvisibility=hidden. Fixes Bugzilla #3944.
This commit is contained in:
1 parent
592062c548
commit
6cea11c665
11 files changed
+24
-24
No files matched your search
@@ -58,7 +58,7 @@ botlib_globals_t botlibglobals;
|
||||
botlib_export_t be_botlib_export;
|
||||
botlib_import_t botimport;
|
||||
//
|
||||
int bot_developer;
|
||||
int botDeveloper;
|
||||
//qtrue if the library is setup
|
||||
int botlibsetup = qfalse;
|
||||
|
||||
@@ -139,7 +139,7 @@ int Export_BotLibSetup(void)
|
||||
char logfilename[MAX_OSPATH];
|
||||
char *homedir, *gamedir;
|
||||
|
||||
bot_developer = LibVarGetValue("bot_developer");
|
||||
botDeveloper = LibVarGetValue("bot_developer");
|
||||
memset( &botlibglobals, 0, sizeof(botlibglobals) );
|
||||
//initialize byte swapping (litte endian etc.)
|
||||
// Swap_Init();
|
||||
|
||||
Reference in new issue
Block a user