From 1e1b493dfc048d301ef6b41377f0a3665ee7f3fc Mon Sep 17 00:00:00 2001 From: forsyth Date: Sun, 15 Jan 2012 00:07:27 +0000 Subject: 20120115-0007 --- Nt/386/include/lib9.h | 17 +++++++++++++++++ include/version.h | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) 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)" -- cgit v1.2.3