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:
authorAndris Mednis <Andris.Mednis@zabbix.com>2018-08-10 16:18:48 +0300
committerAndris Mednis <Andris.Mednis@zabbix.com>2018-08-10 16:18:48 +0300
commit4d8e4941092ad72ce92e6907e0debeb61ac5f3af (patch)
tree0c1121ad11ceca0b5c9cd8a51eaac3075543484e /include/zbxtypes.h
parent4ba3d79b5d28ce8630d3ea949d8f81495d52d36e (diff)
...G...PS. [DEV-698] added ZBX_FS_TIME_T_T and zbx_fs_time_t_t for printing time_t-type values (issue 2)
Diffstat (limited to 'include/zbxtypes.h')
-rw-r--r--include/zbxtypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/zbxtypes.h b/include/zbxtypes.h
index afc8d46afa1..97ec0298ebb 100644
--- a/include/zbxtypes.h
+++ b/include/zbxtypes.h
@@ -154,8 +154,10 @@ typedef off_t zbx_offset_t;
#define ZBX_FS_SIZE_T ZBX_FS_UI64
#define ZBX_FS_SSIZE_T ZBX_FS_I64
+#define ZBX_FS_TIME_T_T ZBX_FS_I64
#define zbx_fs_size_t zbx_uint64_t /* use this type only in calls to printf() for formatting size_t */
#define zbx_fs_ssize_t zbx_int64_t /* use this type only in calls to printf() for formatting ssize_t */
+#define zbx_fs_time_t_t zbx_int64_t /* use this type only in calls to printf() for formatting time_t */
#ifndef S_ISREG
# define S_ISREG(x) (((x) & S_IFMT) == S_IFREG)