Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44439 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75587 invoked from network); 23 Jun 2009 17:03:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jun 2009 17:03:54 -0000 X-Host-Fingerprint: 85.21.236.169 xdmitri.static.corbina.ru Received: from [85.21.236.169] ([85.21.236.169:9306] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B8/50-36467-3EA014A4 for ; Tue, 23 Jun 2009 13:03:32 -0400 Message-ID: To: internals@lists.php.net References: <688E0CB7-742C-4861-B636-0C89DC4D8B9A@pooteeweet.org> <06.D1.20019.45C1F3A4@pb1.pair.com> <7f3ed2c30906220017j6fcea76do2190af3f3ff2d763@mail.gmail.com> <4A4076BB.7080307@lerdorf.com> <35.59.36467.A82F04A4@pb1.pair.com> <4A40F451.7000003@lerdorf.com> <5B.ED.36467.483014A4@pb1.pair.com> <2dedb8a0906230944g103f2569s55332f7e2196a5b7@mail.gmail.com> Date: Tue, 23 Jun 2009 21:03:23 +0400 Lines: 36 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Posted-By: 85.21.236.169 Subject: Re: [PHP-DEV] Re: 5.3.0 stable release From: dmda@yandex.ru ("jvlad") >Or it could be possibly fixed by including , like >"win32/php_stdin.h" is included on Windows thrus no compilation error >here. Let me know if the following patch fixes your problem: > >Index: php_spl.h >=================================================================== >RCS file: /repository/php-src/ext/spl/php_spl.h,v >retrieving revision 1.31 >diff -u -r1.31 php_spl.h >--- php_spl.h 10 Mar 2009 23:39:38 -0000 1.31 >+++ php_spl.h 23 Jun 2009 16:43:13 -0000 >@@ -21,7 +21,9 @@ > > #include "php.h" > #if defined(PHP_WIN32) >-#include "win32/php_stdint.h" >+# include "win32/php_stdint.h" >+#else >+# include > #endif > #include yep, it fixed the problem. Also I'd check for HAVE_STDINT_H like below: #if defined(PHP_WIN32) #include "win32/php_stdint.h" +#else +#ifdef HAVE_STDINT_H +#include +#endif #endif #include