Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix SystemGlobals.cpp - remove g_Joystick when not needed

  • Loading branch information...
commit 068e213016af926213da8c26448f9a4e2598b7a8 1 parent 163195c
@Karlson2k Karlson2k authored
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;
Please sign in to comment.
Something went wrong with that request. Please try again.