diff options
Diffstat (limited to 'include/zbxtypes.h')
-rw-r--r-- | include/zbxtypes.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/zbxtypes.h b/include/zbxtypes.h index 77f9933aae7..7c7b5c3dda4 100644 --- a/include/zbxtypes.h +++ b/include/zbxtypes.h @@ -26,17 +26,11 @@ #define ZBX_PTR_SIZE sizeof(void *) #if defined(_WINDOWS) +# include <strsafe.h> # define zbx_stat(path, buf) __zbx_stat(path, buf) # define zbx_open(pathname, flags) __zbx_open(pathname, flags | O_BINARY) -# include <strsafe.h> -# define zbx_wsnprintf StringCchPrintf -# define zbx_strlen wcslen -# define zbx_strchr wcschr -# define zbx_strstr wcsstr -# define zbx_fullpath _wfullpath - # ifndef __UINT64_C # define __UINT64_C(x) x # endif |