From 0a34af8720fb462022dfdcc7f46bf9fe3099516b Mon Sep 17 00:00:00 2001 From: binki Date: Wed, 4 Aug 2010 00:03:40 +0000 Subject: [PATCH] - Define intptr_t in win32's setup.h. (#3939) --- Changes | 1 + include/win32/setup.h | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/Changes b/Changes index 259a27203..3c707a80a 100644 --- a/Changes +++ b/Changes @@ -2062,3 +2062,4 @@ #3938. - Fix a few compiler warnings with some double-casting and another const. (#3939) +- Define intptr_t in win32's setup.h. (#3939) diff --git a/include/win32/setup.h b/include/win32/setup.h index 982ba3965..c7731a657 100644 --- a/include/win32/setup.h +++ b/include/win32/setup.h @@ -66,4 +66,11 @@ #define mode_t int #endif +/* + make up for win32 (and win64?) users not being able to run ./configure. + */ +#ifndef intptr_t +#define intptr_t long +#endif + #endif