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:
Ryan C. Gordon 2009-09-15 01:44:58 +00:00
parent 592062c548
commit 6cea11c665
11 changed files with 24 additions and 24 deletions

View file

@ -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();