A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd

Use rockbox endian defines


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9351 a1c6a512-1295-4272-9138-f99709370657

+7 -6
+4 -5
apps/plugins/doom/Makefile
··· 3 3 # $Id$ 4 4 # 5 5 # $Log$ 6 - # Revision 1.1 2006/03/28 15:44:01 dave 6 + # Revision 1.2 2006/03/29 21:16:45 kkurbjun 7 + # Use rockbox endian defines 8 + # 9 + # Revision 1.1 2006-03-28 15:44:01 dave 7 10 # Patch #2969 - Doom! Currently only working on the H300. 8 11 # 9 12 # ··· 21 24 ifneq (,$(strip $(foreach tgt,IPOD_NANO IPOD_COLOR IPOD_VIDEO,$(findstring $(tgt),$(TARGET))))) 22 25 ifndef SIMVER 23 26 CFLAGS += -mstructure-size-boundary=8 24 - endif 25 - else 26 - ifndef SIMVER 27 - CFLAGS += -D__BIG_ENDIAN__ 28 27 endif 29 28 endif 30 29
+3 -1
apps/plugins/doom/m_swap.h
··· 37 37 #pragma interface 38 38 #endif 39 39 40 + #include "plugin.h" 41 + 40 42 /* Endianess handling. */ 41 43 42 44 /* cph - First the macros to do the actual byte swapping */ ··· 70 72 * Use separate macros so network could be converted to big-endian later. 71 73 */ 72 74 73 - #ifdef __BIG_ENDIAN__ 75 + #ifndef ROCKBOX_LITTLE_ENDIAN 74 76 75 77 #define doom_wtohl(x) doom_swap_l(x) 76 78 #define doom_htowl(x) doom_swap_l(x)