diff options
| -rwxr-xr-x | Nt/386/include/lib9.h | 17 | ||||
| -rw-r--r-- | include/version.h | 2 |
2 files changed, 18 insertions, 1 deletions
diff --git a/Nt/386/include/lib9.h b/Nt/386/include/lib9.h index 0937c33e..9700a135 100755 --- a/Nt/386/include/lib9.h +++ b/Nt/386/include/lib9.h @@ -14,6 +14,14 @@ #define getwd infgetwd +/* do-it-yourself isinf and isnan */ +#ifndef isnan +#define isnan(x) _isnan(x) +#endif +#ifndef isinf +#define isinf(x) (!_finite(x)) +#endif + #ifndef EMU typedef struct Proc Proc; #endif @@ -56,6 +64,15 @@ typedef unsigned short u16int; typedef unsigned char u8int; typedef unsigned long uintptr; +typedef signed char int8; +typedef unsigned char uint8; +typedef short int16; +typedef unsigned short uint16; +typedef int int32; +typedef unsigned int uint32; +typedef long long int64; +typedef unsigned long long uint64; + #define USED(x) if(x){}else{} #define SET(x) diff --git a/include/version.h b/include/version.h index 4025c196..21360dce 100644 --- a/include/version.h +++ b/include/version.h @@ -1 +1 @@ -#define VERSION "Fourth Edition (20120103)" +#define VERSION "Fourth Edition (20120114)" |
