aboutsummaryrefslogtreecommitdiffstats
path: root/src/config-ini.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config-ini.c')
-rw-r--r--src/config-ini.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config-ini.c b/src/config-ini.c
index 2041db5..89d55d5 100644
--- a/src/config-ini.c
+++ b/src/config-ini.c
@@ -54,7 +54,7 @@ open_config_file(const char *filepath)
}
}
-#ifdef _WIN32
+#ifdef WINDOWS
if (f == NULL && (env = getenv("localappdata")) != NULL &&
env[0] != '\0') {
snprintf(cp, sizeof(cp),
@@ -74,7 +74,7 @@ open_config_file(const char *filepath)
f = fopen(cp, "r");
}
}
-#ifndef _WIN32
+#ifndef WINDOWS
if (f == NULL) {
struct passwd *pwd = getpwuid(getuid());