Commit c2837ef634d904ec781883ae24475dd94b40e270

Sam Lantinga 2016-11-13T23:04:47

Fixed unresolved symbol on Visual Studio

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/haptic/SDL_haptic.c b/src/haptic/SDL_haptic.c
index f01a593..aaeb2a4 100644
--- a/src/haptic/SDL_haptic.c
+++ b/src/haptic/SDL_haptic.c
@@ -25,8 +25,8 @@
 #include "../joystick/SDL_joystick_c.h" /* For SDL_PrivateJoystickValid */
 #include "SDL_assert.h"
 
-static SDL_Haptic *SDL_haptics = NULL;
-
+/* Global for SDL_windowshaptic.c */
+SDL_Haptic *SDL_haptics = NULL;
 
 /*
  * Initializes the Haptic devices.