Set _EVENT_SIZEOF_VOID_P correctly on win32 and win64

This commit is contained in:
Dimitre Piskyulev 2010-10-27 17:32:41 -04:00 committed by Nick Mathewson
parent f817bfa4d3
commit 1ae82cd8c6

View File

@ -317,6 +317,13 @@
#define _EVENT_SIZEOF_SIZE_T 4
#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 _EVENT_STDC_HEADERS 1