summaryrefslogtreecommitdiff
path: root/event-config.h.cmake
diff options
context:
space:
mode:
authorAzat Khuzhin <azat@libevent.org>2022-07-09 14:22:38 +0300
committerAzat Khuzhin <azat@libevent.org>2022-07-09 17:16:56 +0300
commitf5ad737d73ed18b95ce63f1d8e933a89a26653e9 (patch)
tree315238f645066c1aa7d6331f4efdf1708551cac9 /event-config.h.cmake
parent1bc62ce1718c720fd64e6e2db408bfb07d04b88e (diff)
downloadlibevent-f5ad737d73ed18b95ce63f1d8e933a89a26653e9.tar.gz
Add -Wundef for cmake and fix EVENT__SIZEOF_TIME_T usage
Note, autotools already supports it.
Diffstat (limited to 'event-config.h.cmake')
-rw-r--r--event-config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/event-config.h.cmake b/event-config.h.cmake
index 9fff3487..4a626701 100644
--- a/event-config.h.cmake
+++ b/event-config.h.cmake
@@ -485,6 +485,9 @@
/* The size of 'void *', as computer by sizeof */
#define EVENT__SIZEOF_VOID_P @EVENT__SIZEOF_VOID_P@
+/* The size of 'time_t', as computer by sizeof */
+#define EVENT__SIZEOF_TIME_T @EVENT__SIZEOF_TIME_T@
+
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus