ID:               30779
 Updated by:       [EMAIL PROTECTED]
 Reported By:      hakan at lisas dot de
-Status:           Assigned
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Solaris 9
 PHP Version:      5CVS-2004-11-14 (dev)
 Assigned To:      derick
 New Comment:

Does the following work too:

Index: Zend/zend_strtod.c
===================================================================
RCS file: /repository/ZendEngine2/zend_strtod.c,v
retrieving revision 1.2
diff -u -p -r1.2 zend_strtod.c
--- Zend/zend_strtod.c  4 Nov 2004 02:04:39 -0000       1.2
+++ Zend/zend_strtod.c  14 Nov 2004 17:22:20 -0000
@@ -126,6 +126,10 @@ static char *rcsid = "$OpenBSD: strtod.c
 #define IEEE_LITTLE_ENDIAN
 #endif

+#if !defined(u_int32_t) && defined(uint32_t)
+#define u_int32_t uint32_t
+#endif
+
 #define Long   int32_t
 #define ULong  u_int32_t


This is a bit more generic...



Previous Comments:
------------------------------------------------------------------------

[2004-11-14 06:13:52] hakan at lisas dot de

Description:
------------
Compile of Zend/zend_strtod.c fails.

When I include:

#if defined(__sparc__)
#define u_int32_t uint32_t
#endif

it compiles.

sys/types.h has no u_int32_t but a uint32_t.




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30779&edit=1

Reply via email to