aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-04 03:07:40 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-04 03:07:40 +0000
commitf0315a3225252ff9378f5cf76ba08769393f77fe (patch)
tree5a0ca02e231afb877c339147dbeb64aa72cce843
parent3660063116eaf5b0e86530d73e1c0b956e169bee (diff)
parent5d9be44e07a59832270efccebfa957bbffe51b42 (diff)
downloadlibevent-android14-qpr2-s3-release.tar.gz
Change-Id: Ib94f9930b0e34a8e819d5b0d2d2b46bcd354b5ae
-rw-r--r--include/event2/event-config-bionic.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/event2/event-config-bionic.h b/include/event2/event-config-bionic.h
index 4287cac..041504f 100644
--- a/include/event2/event-config-bionic.h
+++ b/include/event2/event-config-bionic.h
@@ -464,6 +464,31 @@
your system. */
/* #undef EVENT__PTHREAD_CREATE_JOINABLE */
+/* The size of `int', as computed by sizeof. */
+#define EVENT__SIZEOF_INT 4
+
+/* The size of `long', as computed by sizeof. */
+#define EVENT__SIZEOF_LONG EVENT__SIZEOF_SIZE_T
+
+/* The size of `long long', as computed by sizeof. */
+#define EVENT__SIZEOF_LONG_LONG 8
+
+/* The size of `off_t', as computed by sizeof. */
+#if defined(__LP64__) || _FILE_OFFSET_BITS == 64
+#define EVENT__SIZEOF_OFF_T 8
+#else
+#define EVENT__SIZEOF_OFF_T 4
+#endif
+
+/* The size of `pthread_t', as computed by sizeof. */
+#define EVENT__SIZEOF_PTHREAD_T EVENT__SIZEOF_SIZE_T
+
+/* The size of `short', as computed by sizeof. */
+#define EVENT__SIZEOF_SHORT 2
+
+/* The size of `void *', as computed by sizeof. */
+#define EVENT__SIZEOF_VOID_P EVENT__SIZEOF_SIZE_T
+
/* Define to 1 if you have the ANSI C header files. */
#define EVENT__STDC_HEADERS 1