summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/system.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h
index aa95167b8a..196c20a33b 100644
--- a/firmware/export/system.h
+++ b/firmware/export/system.h
@@ -121,10 +121,9 @@ int get_cpu_boost_counter(void);
121 ptr = (typeof(ptr))tmp_ptr1; \ 121 ptr = (typeof(ptr))tmp_ptr1; \
122} 122}
123 123
124#ifndef __PCTOOL__
125 124
126/* newer? SDL includes endian.h, So we ignore it */ 125/* newer? SDL includes endian.h, So we ignore it */
127#ifdef SIMULATOR 126#if defined(SIMULATOR) || defined(__PCTOOL__)
128#undef letoh16 127#undef letoh16
129#undef letoh32 128#undef letoh32
130#undef htole16 129#undef htole16
@@ -160,7 +159,6 @@ int get_cpu_boost_counter(void);
160#define swap_odd_even_le32(x) (x) 159#define swap_odd_even_le32(x) (x)
161#endif 160#endif
162 161
163#endif
164 162
165/* static endianness conversion */ 163/* static endianness conversion */
166#define SWAP_16(x) ((typeof(x))(unsigned short)(((unsigned short)(x) >> 8) | \ 164#define SWAP_16(x) ((typeof(x))(unsigned short)(((unsigned short)(x) >> 8) | \