use SDL's functions version inplace of libc version

This commit is contained in:
Sylvain authored and Sam Lantinga committed 2021-11-22 08:38:46 -08:00
1 parent 35b7ce1893
commit d31251b014
46 files changed
+114 -124

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ readSymLink(const char *path)
#if defined(__OPENBSD__)
static char *search_path_for_binary(const char *bin)
{
char *envr = getenv("PATH");
char *envr = SDL_getenv("PATH");
size_t alloc_size;
char *exe = NULL;
char *start = envr;