mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Set _EVENT_SIZEOF_VOID_P correctly on win32 and win64
This commit is contained in:
parent
f817bfa4d3
commit
1ae82cd8c6
@ -317,6 +317,13 @@
|
|||||||
#define _EVENT_SIZEOF_SIZE_T 4
|
#define _EVENT_SIZEOF_SIZE_T 4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* The size of `void *', as computed by sizeof. */
|
||||||
|
#ifdef _WIN64
|
||||||
|
#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 to 1 if you have the ANSI C header files. */
|
||||||
#define _EVENT_STDC_HEADERS 1
|
#define _EVENT_STDC_HEADERS 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user