Mercurial > sdl-ios-xcode
comparison test/testhaptic.c @ 3338:9de326b3099c
Fixed bug #817
Daniele Forghieri 2009-09-30 15:48:24 PDT
Some tests doesn't use the correct include statement (and there are some
missing declaration) and some test use C++ variable after statement, preventing
compile wicth Open Watcom
The patch attached fixes this
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 04 Oct 2009 09:55:20 +0000 |
parents | 5668c3dfe7bc |
children |
comparison
equal
deleted
inserted
replaced
3337:9ac6f0782dd6 | 3338:9de326b3099c |
---|---|
12 */ | 12 */ |
13 | 13 |
14 /* | 14 /* |
15 * includes | 15 * includes |
16 */ | 16 */ |
17 #include <stdlib.h> | |
17 #include "SDL.h" | 18 #include "SDL.h" |
18 #include "SDL_haptic.h" | 19 #include "SDL_haptic.h" |
19 | 20 |
20 #include <stdio.h> /* printf */ | 21 #include <stdio.h> /* printf */ |
21 #include <string.h> /* strstr */ | 22 #include <string.h> /* strstr */ |