Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuris Miščenko <git-no-reply@zabbix.com>2014-04-10 16:29:35 +0400
committerJuris Miščenko <git-no-reply@zabbix.com>2014-04-10 16:29:35 +0400
commit468e7baddaab2080f4f108d598a5b68166d3f161 (patch)
treef0ca3f9be94adcf26ba75f52224ea002af67c18f /include/zbxtypes.h
parent12b80db9cd5af15ae8adc57fa847bfb4815b6047 (diff)
...G...... [ZBX-8031] removed macro definitions of zbx functions for regular Windows string functions; replaced calls to zbx redefinitions with Windows ones
Diffstat (limited to 'include/zbxtypes.h')
-rw-r--r--include/zbxtypes.h8
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