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:
authorAleksejs Sestakovs <aleksejs.sestakovs@zabbix.com>2020-02-06 20:25:40 +0300
committerAleksejs Sestakovs <aleksejs.sestakovs@zabbix.com>2020-02-06 20:25:40 +0300
commitc5458e7af74cee264b42d7eb815368be2174a801 (patch)
treed25eded390c078e460cea2ce2225a8691d90aaff /include/zbxtypes.h
parentc38ae004712e9a34920d2a4bb032f956a88a5555 (diff)
........S. [ZBXNEXT-1736] added ZBX_FS_DBL64 macro
Diffstat (limited to 'include/zbxtypes.h')
-rw-r--r--include/zbxtypes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/zbxtypes.h b/include/zbxtypes.h
index 73129c3ab89..f5b049a76a5 100644
--- a/include/zbxtypes.h
+++ b/include/zbxtypes.h
@@ -159,9 +159,9 @@ typedef off_t zbx_offset_t;
#endif /* _WINDOWS */
-#define ZBX_FS_ARG_LIST(m, a) m(a)
-#define ZBX_FS_DBL_EXT(p) "%." #p "g"
-#define ZBX_FS_DBL ZBX_FS_ARG_LIST(ZBX_FS_DBL_EXT, DECIMAL_DIG)
+#define ZBX_FS_DBL "%lf"
+#define ZBX_FS_DBL_EXT(p) "%." #p "lf"
+#define ZBX_FS_DBL64 "%.17g"
#define ZBX_PTR_SIZE sizeof(void *)
#define ZBX_FS_SIZE_T ZBX_FS_UI64