summaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index 12821ff..d52f62a 100644
--- a/src/util.c
+++ b/src/util.c
@@ -144,7 +144,7 @@ lilv_expand(const char* path)
ret = lilv_strdup(path);
}
wordfree(&p);
-#elif defined(__WIN32__)
+#elif defined(_WIN32)
static const size_t len = 32767;
char* ret = malloc(len);
ExpandEnvironmentStrings(path, ret, len);
@@ -247,7 +247,7 @@ lilv_path_is_absolute(const char* path)
return true;
}
-#ifdef __WIN32__
+#ifdef _WIN32
if (isalpha(path[0]) && path[1] == ':' && lilv_is_dir_sep(path[2])) {
return true;
}