php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1353 AIX already has a #define for hz
Submitted: 1999-04-27 11:37 UTC Modified: 1999-05-28 08:16 UTC
From: Richard dot Schulz at bnsf dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.7 OS: AIX 4.2.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Richard dot Schulz at bnsf dot com
New email:
PHP Version: OS:

 

 [1999-04-27 11:37 UTC] Richard dot Schulz at bnsf dot com
IBM's AIX 4.2.x already has a #define for hz which conflicts with the DLIST struct typedef.  I used a few #ifdefs
to check for AIX 4.2.x and #undef'd hz in functions/DList.h. In addition, IBM's C/C++ compiler V3.1.4.0 fails on // style comments in C source files.

config options:

--with-sybase --with-sybase-ct --enable-track-vars --enable-discard-path

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-05-28 08:16 UTC] sas at cvs dot php dot net
I've added a short #ifdef test to DList.h. You may want to try it on your AIX system:

http://cvs.php.net/cvsweb.cgi/functions/DList.h?rev=1.4
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Oct 27 06:03:32 2021 UTC