Commit 4540a8a1 authored by Markus Kauppila's avatar Markus Kauppila

Some fixes for Linux compatibility.

parent 2650f768
...@@ -36,7 +36,12 @@ int main(int argc, char *argv[]) { ...@@ -36,7 +36,12 @@ int main(int argc, char *argv[]) {
const Uint32 startTicks = SDL_GetTicks(); const Uint32 startTicks = SDL_GetTicks();
#if defined(linux) || defined( __linux)
char *libName = "tests/libtest.so";
#else
char *libName = "tests/libtest.0.dylib"; char *libName = "tests/libtest.0.dylib";
#endif
void *library = SDL_LoadObject(libName); void *library = SDL_LoadObject(libName);
if(library == NULL) { if(library == NULL) {
printf("Loading %s failed\n", libName); printf("Loading %s failed\n", libName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment