Skip to content
Browse files

Fix SystemGlobals.cpp - remove g_Joystick when not needed

  • Loading branch information...
1 parent 163195c commit 068e213016af926213da8c26448f9a4e2598b7a8 @Karlson2k Karlson2k committed Jul 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/SystemGlobals.cpp
View
4 xbmc/SystemGlobals.cpp
@@ -43,7 +43,7 @@
#endif
#if defined(TARGET_WINDOWS)
#include "input/windows/WINJoystick.h"
-#elif defined(HAS_SDL_JOYSTICK) || defined(HAS_EVENT_SERVER)
+#elif defined(HAS_SDL_JOYSTICK)
#include "input/SDLJoystick.h"
#endif
@@ -64,7 +64,7 @@
CGUITextureManager g_TextureManager;
CGUILargeTextureManager g_largeTextureManager;
CMouseStat g_Mouse;
-#if defined(HAS_SDL_JOYSTICK) || defined(HAS_EVENT_SERVER)
+#if defined(HAS_SDL_JOYSTICK)
CJoystick g_Joystick;
#endif
CGUIPassword g_passwordManager;

0 comments on commit 068e213

Please sign in to comment.
Something went wrong with that request. Please try again.