#ifndef UTIL_H_
#define UTIL_H_
+#if defined(__WATCOMC__) && __WATCOMC__ < 1200
+#define NO_STDINT_H
+#endif
#ifdef NO_STDINT_H
typedef char int8_t;
typedef unsigned short uint16_t;
typedef int int32_t;
typedef unsigned int uint32_t;
-typedef unsigned long intptr_t;
+typedef unsigned long uintptr_t;
#else
#include <stdint.h>
#endif