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
Status: Closed Package: Compile Failure
PHP Version: Irrelevant OS: NetBSD (any)
Private report: No CVE-ID:
 [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-2014 The PHP Group
All rights reserved.
Last updated: Thu Apr 24 02:02:10 2014 UTC