php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3015 wrong _TIMEZONE define
Submitted: 1999-12-21 07:22 UTC Modified: 1999-12-31 21:31 UTC
From: hv at remsnet dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.12 OS: AIX 4.3.2
Private report: No CVE-ID: None
 [1999-12-21 07:22 UTC] hv at remsnet dot de
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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-12-31 21:31 UTC] sas at cvs dot php dot net
Thanks for the detailed report. PHP checks now whether timezone is declared by the system.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 21:01:28 2024 UTC