#include <stdlib.h>
#include <string.h>
#include <ctype.h>
+#ifndef __sun__
+#if defined(_MSC_VER)
+ #include "pstdint.h"
+#else
+ #include <stdint.h>
+#endif
+#endif
#include "SDCCglobl.h"
-#include "newalloc.h"
+#include "newalloc.h"
#include "common.h"
#include "SDCCpeeph.h"
{
union {
float d;
- unsigned long l;
+ uint32_t l;
} float_long;
- assert (sizeof (float) == sizeof (long));
+ assert (sizeof (float) == sizeof (uint32_t));
//fprintf (stderr, "%s:%u(%s): val=%lf, type: %d, etype: %d\n", __FILE__, __LINE__, __FUNCTION__, floatFromVal(val), SPEC_NOUN(val->type), SPEC_NOUN(val->etype));