diff options
author | Nils Wallménius <nils@rockbox.org> | 2009-10-06 21:08:59 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2009-10-06 21:08:59 +0000 |
commit | dcc49194ac544eeefae4905cc930bc8f6d0c1fec (patch) | |
tree | 8cf7f0e82b5098d4477b068197dfb2a59da155d0 /firmware/export | |
parent | 5c755a8f48692b21c976090ed0d30cb62d71736c (diff) | |
download | rockbox-dcc49194ac544eeefae4905cc930bc8f6d0c1fec.tar.gz rockbox-dcc49194ac544eeefae4905cc930bc8f6d0c1fec.zip |
Once again fix building of the database tool that gets broke over and over
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22990 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/system.h | 4 |
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) | \ |