summaryrefslogtreecommitdiffstats
path: root/src/io/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/resource.cpp')
-rw-r--r--src/io/resource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io/resource.cpp b/src/io/resource.cpp
index 72cf3c2f9..fd110492e 100644
--- a/src/io/resource.cpp
+++ b/src/io/resource.cpp
@@ -20,7 +20,7 @@
#include "config.h"
#endif
-#ifdef WIN32
+#ifdef _WIN32
#include <shlobj.h> // for SHGetSpecialFolderLocation
#endif
@@ -378,7 +378,7 @@ char *profile_path(const char *filename)
prefdir = g_strdup(userenv);
}
-#ifdef WIN32
+#ifdef _WIN32
// prefer c:\Documents and Settings\UserName\Application Data\ to c:\Documents and Settings\userName\;
// TODO: CSIDL_APPDATA is C:\Users\UserName\AppData\Roaming these days
// should we migrate to AppData\Local? Then we can simply use the portable g_get_user_config_dir()