Skip to content
Permalink
Browse files

Patched to compile on Solaris.

  • Loading branch information
icculus committed Aug 24, 2013
1 parent 88cd94a commit 58a558e326f50135cb303af2d8de5eaf42760212
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/filesystem/unix/SDL_sysfilesystem.c
@@ -97,7 +97,7 @@ SDL_GetBasePath(void)
#elif defined(__SOLARIS__)
const char *path = getexecname();
if ((path != NULL) && (path[0] == '/')) { /* must be absolute path... */
retval = SDL_strdup(fullpath);
retval = SDL_strdup(path);
if (!retval) {
SDL_OutOfMemory();
return NULL;

0 comments on commit 58a558e

Please sign in to comment.