diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-01-15 19:15:14 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-01-15 19:15:14 +0100 |
commit | 84ac308411474aa2e1f6bb063f1dd0906e8f33b2 (patch) | |
tree | 096e12e01e4210fc2c7419789bea4d3a677200b9 | |
parent | 9f5891269189590c7041565355e30695455859b6 (diff) |
Add an endian.h file as one step to build against later libosmocore
-rw-r--r-- | src/target/firmware/include/endian.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/target/firmware/include/endian.h b/src/target/firmware/include/endian.h new file mode 100644 index 00000000..3abcb327 --- /dev/null +++ b/src/target/firmware/include/endian.h @@ -0,0 +1,12 @@ +#ifndef __ENDIAN_H +#define __ENDIAN_H + +#include <sys/cdefs.h> +#include <sys/_types.h> +#include <machine/_endian.h> + +#define __BYTE_ORDER __LITTLE_ENDIaN +#define _QUAD_HIGHWORD 1 +#define _QUAD_LOWWORD 0 + +#endif /* __ENDIAN_H__ */ |