mirror of
https://github.com/yawut/SDL.git
synced 2026-04-25 07:52:57 -05:00
Some fixes for Linux compatibility.
This commit is contained in:
parent
53b99958d9
commit
f3bee868b4
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user