Skip to content
Browse files

SDLInputBackend: Fix workaround for older SDL versions (thanks Eli2)

  • Loading branch information...
1 parent 5bb698c commit ab18a6b2cfa274a09e29f7bb49e4d2937cc997ae @dscharrer dscharrer committed May 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/input/SDLInputBackend.cpp
View
2 src/input/SDLInputBackend.cpp
@@ -24,7 +24,7 @@
#include "io/log/Logger.h"
#include "window/SDLWindow.h"
-#ifdef SDL_BUTTON_X1
+#ifndef SDL_BUTTON_X1
#define SDL_BUTTON_X1 6
#endif
#ifndef SDL_BUTTON_X2

0 comments on commit ab18a6b

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