Some fixes for Linux compatibility.

This commit is contained in:
Markus Kauppila 2011-05-25 09:45:03 -07:00
parent 2650f76826
commit 4540a8a1b9

View file

@ -36,7 +36,12 @@ int main(int argc, char *argv[]) {
const Uint32 startTicks = SDL_GetTicks();
#if defined(linux) || defined( __linux)
char *libName = "tests/libtest.so";
#else
char *libName = "tests/libtest.0.dylib";
#endif
void *library = SDL_LoadObject(libName);
if(library == NULL) {
printf("Loading %s failed\n", libName);