summaryrefslogtreecommitdiff
path: root/Nt/386/include/lib9.h
diff options
context:
space:
mode:
authorforsyth <forsyth@vitanuova.com>2012-01-15 00:07:27 +0000
committerforsyth <forsyth@vitanuova.com>2012-01-15 00:07:27 +0000
commit1e1b493dfc048d301ef6b41377f0a3665ee7f3fc (patch)
treeb5e1a1ddb64d1f14297fd59b41430ff20c45d924 /Nt/386/include/lib9.h
parentcd03a2dc3bfa8e793b2e4702966706c10d69b314 (diff)
20120115-0007
Diffstat (limited to 'Nt/386/include/lib9.h')
-rwxr-xr-xNt/386/include/lib9.h17
1 files changed, 17 insertions, 0 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)