projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed djgpp version of memset16, missing input clobbers
[dosdemo]
/
src
/
dos
/
inttypes.h
diff --git
a/src/dos/inttypes.h
b/src/dos/inttypes.h
index
6f941ad
..
da3cddc
100644
(file)
--- a/
src/dos/inttypes.h
+++ b/
src/dos/inttypes.h
@@
-18,7
+18,7
@@
along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef INT_TYPES_H_
#define INT_TYPES_H_
#ifndef INT_TYPES_H_
#define INT_TYPES_H_
-#if defined(__DOS__) || defined(WIN32)
+#if defined(__WATCOMC__) && __WATCOMC__ < 1200
typedef char int8_t;
typedef short int16_t;
typedef long int32_t;
typedef char int8_t;
typedef short int16_t;
typedef long int32_t;
@@
-27,7
+27,8
@@
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned long uint32_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 <stdint.h>
#endif
#else
#include <stdint.h>
#endif