From dcc49194ac544eeefae4905cc930bc8f6d0c1fec Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Tue, 6 Oct 2009 21:08:59 +0000 Subject: 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 --- firmware/export/system.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'firmware/export') 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); ptr = (typeof(ptr))tmp_ptr1; \ } -#ifndef __PCTOOL__ /* newer? SDL includes endian.h, So we ignore it */ -#ifdef SIMULATOR +#if defined(SIMULATOR) || defined(__PCTOOL__) #undef letoh16 #undef letoh32 #undef htole16 @@ -160,7 +159,6 @@ int get_cpu_boost_counter(void); #define swap_odd_even_le32(x) (x) #endif -#endif /* static endianness conversion */ #define SWAP_16(x) ((typeof(x))(unsigned short)(((unsigned short)(x) >> 8) | \ -- cgit v1.2.3