diff options
author | Krzysztof KosiĆski <krzysio@google.com> | 2023-11-03 01:06:47 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-11-03 01:06:47 +0000 |
commit | 51a393aecc48e56fbf77d422eda80e1cc4ae9ddd (patch) | |
tree | 9f9a43408e27b299b0ca83c98938a21a05eaf324 | |
parent | 7332274d8309c6d99a0dbf7d69a66d6e7a9c1ae3 (diff) | |
parent | 98eb56d7050a069461e20c1ace55ec9f765ee27a (diff) | |
download | libevent-51a393aecc48e56fbf77d422eda80e1cc4ae9ddd.tar.gz |
Add missing defines to Bionic config. am: 4f612f6192 am: 565da5a0d9 am: 98eb56d705
Original change: https://android-review.googlesource.com/c/platform/external/libevent/+/2808694
Change-Id: If70b273a3567452a06b5862d036113e07a79739c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | include/event2/event-config-bionic.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/event2/event-config-bionic.h b/include/event2/event-config-bionic.h index 4287cac..29fa6da 100644 --- a/include/event2/event-config-bionic.h +++ b/include/event2/event-config-bionic.h @@ -464,6 +464,27 @@ 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. */ +#define EVENT__SIZEOF_OFF_T EVENT__SIZEOF_SIZE_T + +/* 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 |