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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: hv at remsnet dot de
New email:
PHP Version: OS:

 

 [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: Mon May 20 20:01:32 2024 UTC