blob: 5bdd75afa848d7a35a64e21cd96fdcc84a31e528 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-am,v 1.1 2004/12/19 03:50:44 grant Exp $
--- Zend/zend_strtod.c.orig 2004-12-14 19:35:26.000000000 +1100
+++ Zend/zend_strtod.c
@@ -127,7 +127,11 @@ static char *rcsid = "$OpenBSD: strtod.c
#define IEEE_LITTLE_ENDIAN
#endif
+/* the __ppc__ test alone is wrong on Darwin, which doesn't have uintXX_t */
+/*
#if defined(__sparc__) || defined(__ppc__)
+*/
+#if defined(__sparc__) || (defined(__ppc__) && !defined(__APPLE__))
#define u_int32_t uint32_t
#endif
|