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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
10 + 49 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 22:01:29 2024 UTC