]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/extended.c
Backed-out PNG8 patch (no time to look at why
[wxWidgets.git] / src / common / extended.c
index a356aa1d55842c349fbc32f019fd010e931340b3..1e9b9c7b8e315514e78c87d8eb9f2cddf1b012b1 100644 (file)
@@ -8,6 +8,11 @@
 *****************************************************************************/
 
 
+#include <stdio.h>
+#include <stdlib.h>
+#include <ctype.h>
+#include <limits.h>
+#include <string.h>
 #include "wx/defs.h"
 
 #if wxUSE_APPLE_IEEE
@@ -61,7 +66,7 @@
 
 #ifndef HUGE_VAL
 # define HUGE_VAL HUGE
-#endif HUGE_VAL
+#endif /*HUGE_VAL*/
 
 
 /****************************************************************
 #ifdef applec  /* The Apple C compiler works */
 # define FloatToUnsigned(f)    ((wxUint32)(f))
 # define UnsignedToFloat(u)    ((wxFloat64)(u))
-#else applec
-# define FloatToUnsigned(f)    ((wxUint32)(((wxInt32)((f) - 2147483648.0)) + 2147483647L + 1))
+#else /*applec*/
+# define FloatToUnsigned(f)    ((wxUint32)(((wxInt32)((f) - 2147483648.0)) + 2147483647L) + 1)
 # define UnsignedToFloat(u)    (((wxFloat64)((wxInt32)((u) - 2147483647L - 1))) + 2147483648.0)
-#endif applec
-
+#endif /*applec*/