diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-03-24 19:08:56 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-03-24 19:08:56 +0100 |
commit | 80565cd8c339a2a72244d599c39b1a1aaac923a6 (patch) | |
tree | 157e57fac0fa7ef178e52566128b7fe91b77cb86 /include | |
parent | 0a8308764c6e1a309842629b23e6ed17cfc755c7 (diff) |
mtp: Error about unknown endian as well
Diffstat (limited to 'include')
-rw-r--r-- | include/mtp/mtp_level3.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mtp/mtp_level3.h b/include/mtp/mtp_level3.h index eed3762..9b56cad 100644 --- a/include/mtp/mtp_level3.h +++ b/include/mtp/mtp_level3.h @@ -96,6 +96,8 @@ static inline uint16_t c_swap_16(uint16_t in) #define MTP_MAKE_APOC(apoc) \ c_swap_16((apoc & 0x3fff)) #error "Need to add MTP_READ_DPC/MTP_READ_OPC for big endian" +#else +#error "Unknown endian" #endif |