Mercurial > sdl-ios-xcode
comparison test/testloadso.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 | 2c835d58faad |
children |
comparison
equal
deleted
inserted
replaced
3337:9ac6f0782dd6 | 3338:9de326b3099c |
---|---|
1 | 1 |
2 /* Test program to test dynamic loading with the loadso subsystem. | 2 /* Test program to test dynamic loading with the loadso subsystem. |
3 */ | 3 */ |
4 | 4 |
5 #include <stdio.h> | 5 #include <stdio.h> |
6 #include <stdlib.h> | 6 #include <stdlib.h> |
7 #include <string.h> | |
7 | 8 |
8 #include "SDL.h" | 9 #include "SDL.h" |
9 | 10 |
10 typedef int (*fntype) (const char *); | 11 typedef int (*fntype) (const char *); |
11 | 12 |