summaryrefslogtreecommitdiff
path: root/src/port/path.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/path.c')
-rw-r--r--src/port/path.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/port/path.c b/src/port/path.c
index a0da7c5cf2e..1e86e5146d4 100644
--- a/src/port/path.c
+++ b/src/port/path.c
@@ -82,7 +82,11 @@ skip_drive(const char *path)
bool
has_drive_prefix(const char *path)
{
+#ifdef WIN32
return skip_drive(path) != path;
+#else
+ return false;
+#endif
}
/*