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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 13 13:01:32 2025 UTC