diff options
author | Jesse Yurkovich <jesse.y@gmail.com> | 2021-07-13 07:01:18 +0300 |
---|---|---|
committer | Jesse Yurkovich <jesse.y@gmail.com> | 2021-07-13 07:01:18 +0300 |
commit | 5098678308319e9ac2de98928aacffc54c7a9761 (patch) | |
tree | 68ab7aaef06f04b0d07fb842b1505e2b82f43e88 /source/blender/blenlib/intern/path_util.c | |
parent | dc679f6247be25f06be14e51a3a1fedf50e6dbbf (diff) |
Cleanup: Use correct _WIN32/64 defines for MSVC
Docs: https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros
Differential Revision: https://developer.blender.org/D11460
Diffstat (limited to 'source/blender/blenlib/intern/path_util.c')
-rw-r--r-- | source/blender/blenlib/intern/path_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c index 8969dd4f6b5..4d0dc43ed1e 100644 --- a/source/blender/blenlib/intern/path_util.c +++ b/source/blender/blenlib/intern/path_util.c @@ -1275,7 +1275,7 @@ void BLI_setenv(const char *env, const char *val) { /* free windows */ -#if (defined(WIN32) || defined(WIN64)) +#if (defined(_WIN32) || defined(_WIN64)) uputenv(env, val); #else |