Mercurial > sdl-ios-xcode
comparison test/testsprite.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 | c2d9b1aff59f |
children | 27ab20a36eba |
comparison
equal
deleted
inserted
replaced
3337:9ac6f0782dd6 | 3338:9de326b3099c |
---|---|
1 /* Simple program: Move N sprites around on the screen as fast as possible */ | 1 /* Simple program: Move N sprites around on the screen as fast as possible */ |
2 | 2 |
3 #include <stdlib.h> | 3 #include <stdlib.h> |
4 #include <stdio.h> | 4 #include <stdio.h> |
5 #include <string.h> | |
6 #include <ctype.h> | |
5 #include <time.h> | 7 #include <time.h> |
6 #include <math.h> | 8 #include <math.h> |
7 | 9 |
8 #include "SDL.h" | 10 #include "SDL.h" |
9 | 11 |