summaryrefslogtreecommitdiffstats
path: root/wsutil/epochs.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
commitc4e8a3222648fcf22ca207f1815ebbf7cd144eeb (patch)
tree93d5c6aa93d9987680dd1adad5685e2ad698f223 /wsutil/epochs.h
parentAdding upstream version 4.2.6. (diff)
downloadwireshark-c4e8a3222648fcf22ca207f1815ebbf7cd144eeb.tar.xz
wireshark-c4e8a3222648fcf22ca207f1815ebbf7cd144eeb.zip
Adding upstream version 4.4.0.upstream/4.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wsutil/epochs.h')
-rw-r--r--wsutil/epochs.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/wsutil/epochs.h b/wsutil/epochs.h
index 17d62728..27a88473 100644
--- a/wsutil/epochs.h
+++ b/wsutil/epochs.h
@@ -62,6 +62,12 @@
* (as they lack a leap year), and one leftover year, 1969, that is
* 365 days long.
*/
-#define EPOCH_DELTA_1601_01_01_00_00_00_UTC G_GUINT64_CONSTANT(11644473600)
+#define EPOCH_DELTA_1601_01_01_00_00_00_UTC UINT64_C(11644473600)
+
+/*
+ * 2000-01-01 00:00:00 UTC.
+ * Used by the Zigbee Zigbee Cluster Library protocol.
+ */
+#define EPOCH_DELTA_2000_01_01_00_00_00_UTC ((unsigned)(((3*365 + 366)*7 + 2*365)*24*3600))
#endif /* __EPOCHS_H__ */