X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2Fdos%2Finttypes.h;h=4d40ee2b826a2d921d2f96b0bbf42470c27006b9;hp=6f941adf761bf08cb78736388ce138e581136915;hb=637ca39c29b03bd3a2beb99521753e83c043283f;hpb=8a64d603ee67cd98070360b40938e123ea845154 diff --git a/src/dos/inttypes.h b/src/dos/inttypes.h index 6f941ad..4d40ee2 100644 --- a/src/dos/inttypes.h +++ b/src/dos/inttypes.h @@ -18,7 +18,8 @@ along with this program. If not, see . #ifndef INT_TYPES_H_ #define INT_TYPES_H_ -#if defined(__DOS__) || defined(WIN32) +/*#if defined(__WATCOMC__) && __WATCOMC__ < 0x1200*/ +#if defined(__DOS__) || defined(__MSDOS__) typedef char int8_t; typedef short int16_t; typedef long int32_t; @@ -27,7 +28,8 @@ typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned long uint32_t; -typedef unsigned long intptr_t; +typedef long intptr_t; +typedef unsigned long uintptr_t; #else #include #endif