Unified · Split
| @@ -14,6 +14,14 @@ · 13 unmodified lines | ||
| 14 | 14 | |
| 15 | 15 | #define getwd infgetwd |
| 16 | 16 | |
| 17 | +/* do-it-yourself isinf and isnan */ | |
| 18 | +#ifndef isnan | |
| 19 | +#define isnan(x) _isnan(x) | |
| 20 | +#endif | |
| 21 | +#ifndef isinf | |
| 22 | +#define isinf(x) (!_finite(x)) | |
| 23 | +#endif | |
| 24 | + | |
| 17 | 25 | #ifndef EMU |
| 18 | 26 | typedef struct Proc Proc; |
| 19 | 27 | #endif |
| @@ -56,6 +64,15 @@ typedef unsigned short u16int; · 36 unmodified lines | ||
| 56 | 64 | typedef unsigned char u8int; |
| 57 | 65 | typedef unsigned long uintptr; |
| 58 | 66 | |
| 67 | +typedef signed char int8; | |
| 68 | +typedef unsigned char uint8; | |
| 69 | +typedef short int16; | |
| 70 | +typedef unsigned short uint16; | |
| 71 | +typedef int int32; | |
| 72 | +typedef unsigned int uint32; | |
| 73 | +typedef long long int64; | |
| 74 | +typedef unsigned long long uint64; | |
| 75 | + | |
| 59 | 76 | #define USED(x) if(x){}else{} |
| 60 | 77 | #define SET(x) |
| 61 | 78 | |
| @@ -1 +1 @@ | ||
| 1 | −#define VERSION "Fourth Edition (20120103)" | |
| 1 | +#define VERSION "Fourth Edition (20120114)" | |