php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53682 VAX handling needs a small update
Submitted: 2011-01-06 23:30 UTC Modified: 2011-01-06 23:48 UTC
From: jklos at NetBSD dot org Assigned: rasmus (profile)
Status: Closed Package: Compile Failure
PHP Version: Irrelevant OS: NetBSD (any)
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: jklos at NetBSD dot org
New email:
PHP Version: OS:

 

 [2011-01-06 23:30 UTC] jklos at NetBSD dot org
Description:
------------
Building php on VAXen fails because both VAX and IEEE_LITTLE_ENDIAN are defined.

This simple change fixes the problem. My apologies for not creating separate 
files, but it's such a tiny fix...


--- zend_strtod.c.orig	2011-01-06 09:35:15.000000000 -0800
+++ zend_strtod.c	2011-01-06 14:24:29.000000000 -0800
@@ -164,6 +164,7 @@
 
 #ifdef __vax__
 #define VAX
+#undef IEEE_LITTLE_ENDIAN
 #endif
 
 #if defined(_MSC_VER)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-06 23:48 UTC] rasmus@php.net
Automatic comment from SVN on behalf of rasmus
Revision: http://svn.php.net/viewvc/?view=revision&revision=307192
Log: Fix bug #53682
 [2011-01-06 23:48 UTC] rasmus@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: rasmus
 [2011-01-06 23:48 UTC] rasmus@php.net
Thanks, fixed in svn
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed May 05 22:01:34 2021 UTC