From: Pierre Joye Date: Fri, 22 Jan 2010 09:06:13 +0000 (+0000) Subject: - fix win build X-Git-Tag: php-5.2.13RC1~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78e283a2f6c37718e1066ffcb682634d39c91c9d;p=php - fix win build --- diff --git a/ext/pcre/pcrelib/pcre_internal.h b/ext/pcre/pcrelib/pcre_internal.h index aa1983e8f9..209fc1b968 100644 --- a/ext/pcre/pcrelib/pcre_internal.h +++ b/ext/pcre/pcrelib/pcre_internal.h @@ -192,7 +192,11 @@ stdint.h is available, include it; it may define INT64_MAX. The macro int64_t may be set by "configure". */ #if HAVE_STDINT_H -#include +#if defined(PHP_WIN32) && !defined(int64_t) +typedef __int64 int64_t; +# else +# include +# endif #endif #if defined INT64_MAX || defined int64_t