Bug #3015: wrong _TIMEZONE define
| From: | hv at remsnet dot de | Date: | Tue, 21 Dec 1999 12:22:09 +0000 |
| Subject: | Bug #3015: wrong _TIMEZONE define | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13896@lists.php.net to get a copy of this message | ||
From: hv@remsnet.de
Operating system: AIX 4.3.2
PHP version: 3.0.12
PHP Bug Type: Compile Failure
Bug description: wrong _TIMEZONE define
functions/datetime.c:75: conflicting types for `timezone'
/usr/include/time.h:167: previous declaration of `timezone'
make: *** [functions/datetime.o] Error 1
dito at :
functions/parsedate.y:46
FIX :
...
#ifndef HAVE_TM_ZONE
#ifndef _TIMEZONE
#if !defined(_AIX)
extern time_t timezone;
#endif
...
and the same problem at PHP at diverent plaches witch uses TIMEZONE definitions