diff options
| author | Karl Kurbjun <kkurbjun@gmail.com> | 2006-03-29 21:16:45 +0000 |
|---|---|---|
| committer | Karl Kurbjun <kkurbjun@gmail.com> | 2006-03-29 21:16:45 +0000 |
| commit | 4ed232df5e4ff3a5bfe053aaa6843b11fb0e85b6 (patch) | |
| tree | 85e268089f9056b9a2811d37bbc106dc0e695ae7 /apps/plugins/doom/m_swap.h | |
| parent | be8f0eb9e204759ea0032d75c39c8421ebefcb07 (diff) | |
| download | rockbox-4ed232df5e4ff3a5bfe053aaa6843b11fb0e85b6.zip rockbox-4ed232df5e4ff3a5bfe053aaa6843b11fb0e85b6.tar.gz rockbox-4ed232df5e4ff3a5bfe053aaa6843b11fb0e85b6.tar.bz2 rockbox-4ed232df5e4ff3a5bfe053aaa6843b11fb0e85b6.tar.xz | |
Use rockbox endian defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9351 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom/m_swap.h')
| -rw-r--r-- | apps/plugins/doom/m_swap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/doom/m_swap.h b/apps/plugins/doom/m_swap.h index fdf2b92..026e2df 100644 --- a/apps/plugins/doom/m_swap.h +++ b/apps/plugins/doom/m_swap.h @@ -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) |