summaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.c b/src/util.c
index 7930d70..5ba450a 100644
--- a/src/util.c
+++ b/src/util.c
@@ -347,12 +347,14 @@ lilv_copy_file(const char* src, const char* dst)
return st;
}
+#ifdef _WIN32
static inline bool
is_windows_path(const char* path)
{
return (isalpha(path[0]) && (path[1] == ':' || path[1] == '|') &&
(path[2] == '/' || path[2] == '\\'));
}
+#endif
bool
lilv_path_is_absolute(const char* path)