Re: [APC-DEV] APC for PHP 5.3 on Windows

From: Date: Wed, 18 Jun 2008 17:54:54 +0000
Subject: Re: [APC-DEV] APC for PHP 5.3 on Windows
References: 1  Groups: php.apc.dev 
Request: Send a blank email to php-apc-dev+get-134@lists.php.net to get a copy of this message
I went ahead and checked this in on CVS HEAD. I don't have a Windows machine to really test this on, so let me know if there's any remaining issues. -shire On Jun 9, 2008, at 11:29 AM, Jaroslav Hanslík wrote:
Hi, the attached patch should repair the compilation of APC for PHP 5.3 on Windows. Regards Jaroslav Hanslik --- apc.c 2008-05-13 17:51:46.000000000 +0200 +++ apc-patched.c 2008-06-09 20:17:30.375000000 +0200 @@ -32,7 +32,12 @@ /* $Id: apc.c,v 3.22 2008/05/13 15:51:46 gopalv Exp $ */ #include "apc.h"
-#include <regex.h>      /* for POSIX regular expressions */
+/* for POSIX regular expressions */ +#if PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 3 + #include <ext/ereg/php_regex.h> +#else + #include <regex.h> +#endif #include "php.h" #define NELEMS(a) (sizeof(a)/sizeof((a)[0])) --APC Development Mailing List (http://pecl.php.net/APC) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.apc.dev (#134) next »