Unified · Split
| @@ -14,6 +14,14 @@ · 13 unmodified lines | |||
| 14 | 14 | ||
| 15 | #define getwd infgetwd | 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 | #ifndef EMU | 25 | #ifndef EMU |
| 18 | typedef struct Proc Proc; | 26 | typedef struct Proc Proc; |
| 19 | #endif | 27 | #endif |
| @@ -56,6 +64,15 @@ typedef unsigned short u16int; · 36 unmodified lines | |||
| 56 | typedef unsigned char u8int; | 64 | typedef unsigned char u8int; |
| 57 | typedef unsigned long uintptr; | 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 | #define USED(x) if(x){}else{} | 76 | #define USED(x) if(x){}else{} |
| 60 | #define SET(x) | 77 | #define SET(x) |
| 61 | 78 | ||
| @@ -1 +1 @@ | |||
| 1 | #define VERSION "Fourth Edition (20120103)" | 1 | #define VERSION "Fourth Edition (20120114)" |