Re: Re: cvs: php-src /ext/date/lib timelib_structs.h

From: Date: Thu, 06 Oct 2005 10:28:57 +0000
Subject: Re: Re: cvs: php-src /ext/date/lib timelib_structs.h
References: 1 2 3  Groups: php.cvs php.internals 
Request: Send a blank email to internals+get-19436@lists.php.net to get a copy of this message
Derick Rethans wrote:
On Wed, 5 Oct 2005, Greg Beaver wrote: ...
I do believe that: #ifdef PHP_WIN32 #include "timelib_config.h" #else #include <timelib_config.h> #endif should fix the windows build without ruining the patch.
No, can't do that as PHP_WIN32 is not defined for the standalone library.
Not sure if CFLAGS is the proper spot for it (so didnt commit this yet) or if there is another CFLAGS_.. that could be used to limit the include path to ext standard, but I added the following to the data config.w32 to get around the problem in my builds. CHECK_HEADER_ADD_INCLUDE("timelib.h", "CFLAGS", "ext/date/lib"); Rob

« previous php.internals (#19436) next »