diff --git a/src/H5win32defs.h b/src/H5win32defs.h index 2c63e9350fc..9630c5e2d42 100644 --- a/src/H5win32defs.h +++ b/src/H5win32defs.h @@ -57,7 +57,7 @@ struct timezone { * MinGW and the newer, conforming MSVC preprocessor do not exhibit this * behavior. */ -#if defined(_MSC_VER) && !defined(_MSVC_TRADITIONAL) || _MSVC_TRADITIONAL +#if (defined(_MSC_VER) && !defined(_MSVC_TRADITIONAL)) || _MSVC_TRADITIONAL /* Using the MSVC traditional preprocessor */ #define HDopen(S, F, ...) Wopen_utf8(S, F, __VA_ARGS__) #else