Try to define a sane _EVENT_SIZEOF_SIZE_T for msvc compilation

This commit is contained in:
Nick Mathewson 2010-02-25 17:11:28 -05:00
parent 23170a69f8
commit 1e14f82669

View File

@ -310,6 +310,13 @@
/* The size of a `short', as computed by sizeof. */
#define _EVENT_SIZEOF_SHORT 2
/* The size of `size_t', as computed by sizeof. */
#ifdef _WIN64
#define _EVENT_SIZEOF_SIZE_T 8
#else
#define _EVENT_SIZEOF_SIZE_T 4
#endif
/* Define to 1 if you have the ANSI C header files. */
#define _EVENT_STDC_HEADERS 1