summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/genie/src/host/os_pathsearch.c
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/genie/src/host/os_pathsearch.c')
-rw-r--r--3rdparty/genie/src/host/os_pathsearch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/genie/src/host/os_pathsearch.c b/3rdparty/genie/src/host/os_pathsearch.c
index 44f775d6e99..d16a53098f9 100644
--- a/3rdparty/genie/src/host/os_pathsearch.c
+++ b/3rdparty/genie/src/host/os_pathsearch.c
@@ -29,7 +29,7 @@ int os_pathsearch(lua_State* L)
/* look for the closest path separator ; or : */
/* can't use : on windows because it breaks on C:\path */
const char* semi = strchr(path, ';');
-#if !defined(PLATFORM_WINDOWS)
+#if !defined(PLATFORM_WINDOWS) && !defined(PLATFORM_OS2)
const char* full = strchr(path, ':');
#else
const char* full = NULL;