Re: [ANNOUNCEMENT] pecl_http-2.1.0RC2 (beta) Released.
| From: | Jan Ehrhardt | Date: | Thu, 21 Aug 2014 05:09:21 +0000 |
| Subject: | Re: [ANNOUNCEMENT] pecl_http-2.1.0RC2 (beta) Released. | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-12187@lists.php.net to get a copy of this message | ||
Jan Ehrhardt in php.pecl.dev (Tue, 12 Aug 2014 18:39:55 +0200):
>Without changing VC11's stdint.h (which I did for debugging) I could
>only think of one way to prevent it from loading. stdint.h starts with:
>
>/* stdint.h standard header */
>#pragma once
>#ifndef _STDINT
>#define _STDINT
>
>So, by defining _STDINT you can prevent it from loading. I changed
><win32/php_stdint.h>:
>
> #ifndef _MSC_STDINT_H_ // [
> #define _MSC_STDINT_H_
>+#define _STDINT
>
> #if _MSC_VER > 1000
> #pragma once
The same patch has to be applied to the sources of PHP 5.5.16 to compile
php_http.dll without errors. These sources are now available at
http://windows.php.net/download/
Jan