From 468e7baddaab2080f4f108d598a5b68166d3f161 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juris=20Mi=C5=A1=C4=8Denko?= Date: Thu, 10 Apr 2014 12:29:35 +0000 Subject: ...G...... [ZBX-8031] removed macro definitions of zbx functions for regular Windows string functions; replaced calls to zbx redefinitions with Windows ones --- include/zbxtypes.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include/zbxtypes.h') 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 # define zbx_stat(path, buf) __zbx_stat(path, buf) # define zbx_open(pathname, flags) __zbx_open(pathname, flags | O_BINARY) -# include -# 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 -- cgit v1.2.3