X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcortexelf-v1%2Fao_lisp_os.h;h=27ea7806e963b9790d848dafb459774fd8ce3daf;hb=5f8f0ed5cd5d4b4f793c602ed09f9b4bdb98f7e8;hp=50c9d40f64344d64b15f986bfda103c2ae74301c;hpb=e745229311366a792110d78d8480a2bf83eef9a0;p=fw%2Faltos diff --git a/src/cortexelf-v1/ao_lisp_os.h b/src/cortexelf-v1/ao_lisp_os.h index 50c9d40f..27ea7806 100644 --- 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;