1
0
Fork 0
forked from len0rd/rockbox

Use rockbox endian defines

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9351 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2006-03-29 21:16:45 +00:00
parent be8f0eb9e2
commit 4ed232df5e
2 changed files with 7 additions and 6 deletions

View file

@ -37,6 +37,8 @@
#pragma interface
#endif
#include "plugin.h"
/* Endianess handling. */
/* cph - First the macros to do the actual byte swapping */
@ -70,7 +72,7 @@
* Use separate macros so network could be converted to big-endian later.
*/
#ifdef __BIG_ENDIAN__
#ifndef ROCKBOX_LITTLE_ENDIAN
#define doom_wtohl(x) doom_swap_l(x)
#define doom_htowl(x) doom_swap_l(x)