Skip to content

Commit

Permalink
Try to define a sane _EVENT_SIZEOF_SIZE_T for msvc compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
nmathewson committed Feb 25, 2010
1 parent 23170a6 commit 1e14f82
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions WIN32-Code/event-config.h
Expand Up @@ -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

Expand Down

0 comments on commit 1e14f82

Please sign in to comment.