mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 13:04:23 -04:00
Try to define a sane _EVENT_SIZEOF_SIZE_T for msvc compilation
This commit is contained in:
parent
23170a69f8
commit
1e14f82669
@ -310,6 +310,13 @@
|
|||||||
/* The size of a `short', as computed by sizeof. */
|
/* The size of a `short', as computed by sizeof. */
|
||||||
#define _EVENT_SIZEOF_SHORT 2
|
#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 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