From: cuz Date: Sun, 15 Dec 2002 14:39:01 +0000 (+0000) Subject: Remove dependencies for other header files X-Git-Tag: V2.12.0~1894 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0cdc39ea9f97971c80838d72410e8ddb08a500c3;p=cc65 Remove dependencies for other header files git-svn-id: svn://svn.cc65.org/cc65/trunk@1773 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/include/stdint.h b/include/stdint.h index 0de29f0ce..0053a9bba 100644 --- a/include/stdint.h +++ b/include/stdint.h @@ -33,7 +33,7 @@ -/* Note: This file is not fully ISO 9899-1999 compatible because cc65 lacks +/* Note: This file is not fully ISO 9899-1999 compliant because cc65 lacks * a 64 bit data types. The declarations have been adjusted accordingly. */ @@ -115,14 +115,14 @@ typedef unsigned long uintmax_t; #define UINTMAX_MAX ((uintmax_t) 0xFFFFFFFF) /* Limits of other integer types */ -#define PTRDIFF_MIN ((ptrdiff_t) 0x8000) -#define PTRDIFF_MAX ((ptrdiff_t) 0x7FFF) +#define PTRDIFF_MIN ((int) 0x8000) +#define PTRDIFF_MAX ((int) 0x7FFF) #define SIG_ATOMIC_MIN ((unsigned char) 0x00) #define SIG_ATOMIC_MAX ((unsigned char) 0xFF) #define SIZE_MAX 0xFFFF - + /* Macros for minimum width integer constants */ #define INT8_C(c) c #define INT16_C(c) c