aboutsummaryrefslogtreecommitdiffstats
path: root/code/botlib/be_interface.c
diff options
context:
space:
mode:
authoricculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-09-15 01:44:58 +0000
committericculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-09-15 01:44:58 +0000
commite147ed40e85698cd26934efae666565840076cc5 (patch)
tree1da96e426f1497bd756af0e29084c2d7806fdb89 /code/botlib/be_interface.c
parent93404730059e9c8b6fcbf4e7c0f5ff69a23e6ea1 (diff)
downloadioquake3-aero-e147ed40e85698cd26934efae666565840076cc5.tar.gz
ioquake3-aero-e147ed40e85698cd26934efae666565840076cc5.zip
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. git-svn-id: svn://svn.icculus.org/quake3/trunk@1607 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/botlib/be_interface.c')
-rw-r--r--code/botlib/be_interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/botlib/be_interface.c b/code/botlib/be_interface.c
index 5418635..1e0e802 100644
--- a/code/botlib/be_interface.c
+++ b/code/botlib/be_interface.c
@@ -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();