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

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to