diff options
Diffstat (limited to 'include/zbxtypes.h')
-rw-r--r-- | include/zbxtypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zbxtypes.h b/include/zbxtypes.h index 779e58ff0f8..0a101530c4e 100644 --- a/include/zbxtypes.h +++ b/include/zbxtypes.h @@ -214,7 +214,7 @@ zbx_uint128_t; /* macro to test if a signed value has been assigned to unsigned type (char, short, int, long long) */ #define ZBX_IS_TOP_BIT_SET(x) (0 != ((__UINT64_C(1) << ((sizeof(x) << 3) - 1)) & (x))) -#if defined(_WINDOWS) +#if defined(_WINDOWS) || defined(__MINGW32__) #define localtime_r(x, y) localtime_s(y, x) #endif |