Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Some fixes for Linux compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkauppila committed May 25, 2011
1 parent f48a0d5 commit 56c0777
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test-automation/runner.c
Expand Up @@ -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);
Expand Down

0 comments on commit 56c0777

Please sign in to comment.