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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403962
This commit is contained in:
Sam Lantinga 2009-10-04 09:55:20 +00:00
parent 4968cb27ac
commit 00fcbc745d
7 changed files with 16 additions and 8 deletions

View file

@ -1,3 +1,4 @@
#include <stdio.h>
#include "SDL.h"
/* Make sure we have good macros for printing 32 and 64 bit values */
@ -17,7 +18,7 @@
after calling each function.
*/
char *
char *
tf(SDL_bool tf)
{
static char *t = "true";
@ -30,7 +31,7 @@ tf(SDL_bool tf)
return f;
}
int
main(int argc, char *argv[])
{