summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2010-07-15 22:01:06 +0000
committerNils Wallménius <nils@rockbox.org>2010-07-15 22:01:06 +0000
commit6d732a32bc4472a9050b118d0920e936a4bf5408 (patch)
tree0471f9810a5b901808157b375c163b4692388982 /firmware/target/hosted
parentc272144867f94dc7e99f8333bec5dd052878ecd8 (diff)
downloadrockbox-6d732a32bc4472a9050b118d0920e936a4bf5408.tar.gz
rockbox-6d732a32bc4472a9050b118d0920e936a4bf5408.tar.bz2
rockbox-6d732a32bc4472a9050b118d0920e936a4bf5408.zip
Don't duplicate byteswap code. Invent system where NEED_GENERIC_BYTESWAPS is set if the generic functions from system.h are needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27440 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/hosted')
-rw-r--r--firmware/target/hosted/sdl/system-target.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/system-target.h b/firmware/target/hosted/sdl/system-target.h
index 31194fc33a..3489ea5168 100644
--- a/firmware/target/hosted/sdl/system-target.h
+++ b/firmware/target/hosted/sdl/system-target.h
@@ -1 +1,4 @@
#include "system-sdl.h"
+
+#define NEED_GENERIC_BYTESWAPS
+