History

20120115-0007

forsyth committed 14 years ago

Commit bc1abff1 parent 0de61ca2 files · +18 −1Browse files

Unified · Split

2 files
  1. Nt/386/include/lib9.h +17 −0
  2. include/version.h +1 −1
Nt/386/include/lib9.h+17−0
@@ -14,6 +14,14 @@ · 13 unmodified lines
1414
1515 #define getwd infgetwd
1616
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+
1725 #ifndef EMU
1826 typedef struct Proc Proc;
1927 #endif
@@ -56,6 +64,15 @@ typedef unsigned short u16int; · 36 unmodified lines
5664 typedef unsigned char u8int;
5765 typedef unsigned long uintptr;
5866
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+
5976 #define USED(x) if(x){}else{}
6077 #define SET(x)
6178
include/version.h+1−1
@@ -1 +1 @@
1−#define VERSION "Fourth Edition (20120103)"
1+#define VERSION "Fourth Edition (20120114)"