VAX handling needs a small update

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

 [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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports

 [2011-01-06 23:48 UTC] rasmus@php.net

-Status: Open +Status: Closed -Assigned To: +Assigned To: rasmus