Date: Sat, 05 Nov 2005 17:46:48 +0900
From: Hayashi Naoyuki Subject: SDL_numjoysticks: multiply defined The following linker error is produced when I try to build SDL CVS on Tru64. ld: .libs/libSDL.lax/libjoystick.a/SDL_sysjoystick.o: SDL_numjoysticks: multiply defined SDL_numjoysticks is defined in both src/joystick/SDL_joystick.c:48: and SDL12/src/joystick/dummy/SDL_sysjoystick.c:37:. As a result, compilation produce "multiply defined" errors, when link. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401170
This commit is contained in:
parent
5a00c8d7c3
commit
2f61404a42
1 changed files with 0 additions and 2 deletions
|
@ -34,8 +34,6 @@ static char rcsid =
|
|||
#include "SDL_sysjoystick.h"
|
||||
#include "SDL_joystick_c.h"
|
||||
|
||||
Uint8 SDL_numjoysticks = 0;
|
||||
|
||||
/* Function to scan the system for joysticks.
|
||||
* This function should set SDL_numjoysticks to the number of available
|
||||
* joysticks. Joystick 0 should be the system default joystick.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue