repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
revert between 56095 -> 55830 in arch
[AROS.git]
/
tools
/
adflib
/
Generic
/
defendian.h
blob
74ac73baca1d904ca7898c63022caab35e49fceb
1
#ifndef ADF_DEFENDIAN_H
2
#define ADF_DEFENDIAN_H
3
4
#include <sys/param.h>
5
6
#if __BYTE_ORDER == __LITTLE_ENDIAN
7
/* Little Endian */
8
#define LITT_ENDIAN
9
#elif __BYTE_ORDER == __BIG_ENDIAN
10
/* Big Endian */
11
#else
12
/* Unknown Endian */
13
#error Unknown Endian type!
14
#endif
15
16
#endif
/* ADF_DEFENDIAN_H */