projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos/lisp: Add 'big' ints -- 24 bits wide
[fw/altos]
/
src
/
cortexelf-v1
/
ao_lisp_os.h
diff --git
a/src/cortexelf-v1/ao_lisp_os.h
b/src/cortexelf-v1/ao_lisp_os.h
index 50c9d40f64344d64b15f986bfda103c2ae74301c..27ea7806e963b9790d848dafb459774fd8ce3daf 100644
(file)
--- a/
src/cortexelf-v1/ao_lisp_os.h
+++ b/
src/cortexelf-v1/ao_lisp_os.h
@@
-23,6
+23,12
@@
#define AO_LISP_POOL_TOTAL 16384
#define AO_LISP_SAVE 1
+#ifndef __BYTE_ORDER
+#define __LITTLE_ENDIAN 1234
+#define __BIG_ENDIAN 4321
+#define __BYTE_ORDER __LITTLE_ENDIAN
+#endif
+
static inline int
ao_lisp_getc() {
static uint8_t at_eol;