Fixing another duh
This commit is contained in:
parent
aa9ccc724f
commit
09e7068658
@ -174,7 +174,7 @@ static const char *executable_folder(void)
|
|||||||
}
|
}
|
||||||
/* Ugly unportable code! :( */
|
/* Ugly unportable code! :( */
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
size_t length = sizeof(path) - 1;
|
uint32_t length = sizeof(path) - 1;
|
||||||
_NSGetExecutablePath(&path[0], &length);
|
_NSGetExecutablePath(&path[0], &length);
|
||||||
#else
|
#else
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
Loading…
Reference in New Issue
Block a user