X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=imago%2Fsrc%2Fbyteord.h;fp=imago%2Fsrc%2Fbyteord.h;h=6ac5f30b1a510d80874f709a2f5cf3d525a83c4f;hb=d45bc63a8f65e07332d0b16ad5f062c20bd76414;hp=c3c385863aa3a5fb0b7695196a2241c66af4d9f5;hpb=dbcd4b5e0c47a8fb8e398431fccb290526303608;p=dos_imgv
diff --git a/imago/src/byteord.h b/imago/src/byteord.h
index c3c3858..6ac5f30 100644
--- a/imago/src/byteord.h
+++ b/imago/src/byteord.h
@@ -18,7 +18,9 @@ along with this program. If not, see .
#ifndef IMAGO_BYTEORD_H_
#define IMAGO_BYTEORD_H_
-#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199900) || (defined(_MSC_VER) && _MSC_VER >= 1600)
+#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199900) || \
+ (defined(_MSC_VER) && _MSC_VER >= 1600) || \
+ (defined(__WATCOMC__) && __WATCOMC__ >= 1200)
#include
#else
#include
@@ -31,6 +33,7 @@ typedef short int16_t;
typedef unsigned short uint16_t;
typedef long int32_t;
typedef unsigned long uint32_t;
+typedef unsigned long uintptr_t;
#endif
#include "imago2.h"