summaryrefslogtreecommitdiff
path: root/Inferno/spim/include/lib9.h
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2009-04-01 22:54:06 +0000
committerCharles.Forsyth <devnull@localhost>2009-04-01 22:54:06 +0000
commit4eb166cf184c1f102fb79e31b1465ea3e2021c39 (patch)
tree0e1bd8c059324d5cb99d625a67398e48a9ffce95 /Inferno/spim/include/lib9.h
parenta9b1d9c7f57ec21ff8be147f5c949966b966e519 (diff)
20090401-2350
Diffstat (limited to 'Inferno/spim/include/lib9.h')
-rw-r--r--Inferno/spim/include/lib9.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Inferno/spim/include/lib9.h b/Inferno/spim/include/lib9.h
new file mode 100644
index 00000000..649829be
--- /dev/null
+++ b/Inferno/spim/include/lib9.h
@@ -0,0 +1,8 @@
+#include <u.h>
+#include <kern.h>
+
+/*
+ * Extensions for Inferno to basic libc.h
+ */
+
+#define __LITTLE_ENDIAN /* math/dtoa.c; longs in MIPS doubles are little-endian in LE mode */