diff --git a/src/port/path.c b/src/port/path.c index 3c633a786bb..32d6c1c80d5 100644 --- a/src/port/path.c +++ b/src/port/path.c @@ -86,7 +86,11 @@ skip_drive(const char *path) bool has_drive_prefix(const char *path) { +#ifdef WIN32 return skip_drive(path) != path; +#else + return false; +#endif } /*