1
0
Fork 0
forked from len0rd/rockbox

Fixed checkwps build warnings. Updated checkwps makefile to be closer to main.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22593 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2009-09-01 14:53:37 +00:00
parent f81cadad2a
commit ffaf24674d
3 changed files with 28 additions and 21 deletions

View file

@ -121,6 +121,8 @@ int get_cpu_boost_counter(void);
ptr = (typeof(ptr))tmp_ptr1; \
}
#ifndef __PCTOOL__
/* newer? SDL includes endian.h, So we ignore it */
#ifdef SIMULATOR
#undef letoh16
@ -158,6 +160,8 @@ 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) | \
((unsigned short)(x) << 8)))