Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-11-23 17:13:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2014-11-23 17:13:58 +0300
commit57c9d69e6bcfba01090282161c04252c4780b0fa (patch)
treed12a4804a811e31f307af4d1d56b34bc8664f6d1 /source/gameengine/GameLogic
parentb9d9df9810c6b66584b36186876e9da08709c84a (diff)
Cleanup: warnings
Diffstat (limited to 'source/gameengine/GameLogic')
-rw-r--r--source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp b/source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp
index 228adbb942e..765f0561007 100644
--- a/source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp
+++ b/source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp
@@ -41,7 +41,9 @@
#include "BLI_path_util.h"
-#define SDL_CHECK(x) ((x) != (void*)0)
+#ifdef WITH_SDL
+# define SDL_CHECK(x) ((x) != (void *)0)
+#endif
SCA_Joystick::SCA_Joystick(short int index)
: