Fixed windows compile
authorSam Lantinga <slouken@libsdl.org>
Sun, 20 Oct 2013 20:49:36 -0700
changeset 7858170c9f4c3c28
parent 7857 6388f5229bb7
child 7859 af63b63e7aac
Fixed windows compile
WhatsNew.txt
src/haptic/windows/SDL_syshaptic.c
     1.1 --- a/WhatsNew.txt	Sun Oct 20 20:42:55 2013 -0700
     1.2 +++ b/WhatsNew.txt	Sun Oct 20 20:49:36 2013 -0700
     1.3 @@ -1,3 +1,5 @@
     1.4  
     1.5  This is a list of API changes in SDL's version history.
     1.6  
     1.7 +2.0.1
     1.8 +* 
     2.1 --- a/src/haptic/windows/SDL_syshaptic.c	Sun Oct 20 20:42:55 2013 -0700
     2.2 +++ b/src/haptic/windows/SDL_syshaptic.c	Sun Oct 20 20:49:36 2013 -0700
     2.3 @@ -1567,7 +1567,7 @@
     2.4          SDL_LockMutex(hwdata->mutex);
     2.5          /* If we're currently running and need to stop... */
     2.6          if (hwdata->stopTicks) {
     2.7 -            if ((hwdata->stopTicks != SDL_HAPTIC_INFINITY) && SDL_TIMESTAMP_PASSED(SDL_GetTicks(), hwdata->stopTicks)) {
     2.8 +            if ((hwdata->stopTicks != SDL_HAPTIC_INFINITY) && SDL_TICKS_PASSED(SDL_GetTicks(), hwdata->stopTicks)) {
     2.9                  XINPUT_VIBRATION vibration = { 0, 0 };
    2.10                  hwdata->stopTicks = 0;
    2.11                  XINPUTSETSTATE(hwdata->userid, &vibration);