Module Name: src Committed By: christos Date: Wed Feb 1 01:15:34 UTC 2017
Modified Files: src/external/bsd/libevent/include/event2: event-config.h Log Message: fix non _LP64 To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 \ src/external/bsd/libevent/include/event2/event-config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/libevent/include/event2/event-config.h diff -u src/external/bsd/libevent/include/event2/event-config.h:1.3 src/external/bsd/libevent/include/event2/event-config.h:1.4 --- src/external/bsd/libevent/include/event2/event-config.h:1.3 Tue Jan 31 18:17:40 2017 +++ src/external/bsd/libevent/include/event2/event-config.h Tue Jan 31 20:15:34 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: event-config.h,v 1.3 2017/01/31 23:17:40 christos Exp $ */ +/* $NetBSD: event-config.h,v 1.4 2017/02/01 01:15:34 christos Exp $ */ /* event2/event-config.h * * This file was generated by autoconf when libevent was built, and post- @@ -447,7 +447,11 @@ #define EVENT__SIZEOF_INT 4 /* The size of `long', as computed by sizeof. */ +#ifdef _LP64 #define EVENT__SIZEOF_LONG 8 +#else +#define EVENT__SIZEOF_LONG 4 +#endif /* The size of `long long', as computed by sizeof. */ #define EVENT__SIZEOF_LONG_LONG 8 @@ -456,16 +460,28 @@ #define EVENT__SIZEOF_OFF_T 8 /* The size of `pthread_t', as computed by sizeof. */ +#ifdef _LP64 #define EVENT__SIZEOF_PTHREAD_T 8 +#else +#define EVENT__SIZEOF_PTHREAD_T 4 +#endif /* The size of `short', as computed by sizeof. */ #define EVENT__SIZEOF_SHORT 2 /* The size of `size_t', as computed by sizeof. */ +#ifdef _LP64 #define EVENT__SIZEOF_SIZE_T 8 +#else +#define EVENT__SIZEOF_SIZE_T 4 +#endif /* The size of `void *', as computed by sizeof. */ +#ifdef _LP64 #define EVENT__SIZEOF_VOID_P 8 +#else +#define EVENT__SIZEOF_VOID_P 4 +#endif /* Define to 1 if you have the ANSI C header files. */ #define EVENT__STDC_HEADERS 1