notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libretro: adjust psxclock description
[pcsx_rearmed.git]
/
plugins
/
dfsound
/
stdafx.h
diff --git
a/plugins/dfsound/stdafx.h
b/plugins/dfsound/stdafx.h
index
96335e3
..
71921a9
100644
(file)
--- a/
plugins/dfsound/stdafx.h
+++ b/
plugins/dfsound/stdafx.h
@@
-32,6
+32,14
@@
#define INLINE static inline
#endif
#define INLINE static inline
#endif
+#if defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
+#define HTOLE16(x) __builtin_bswap16(x)
+#define LE16TOH(x) __builtin_bswap16(x)
+#else
+#define HTOLE16(x) (x)
+#define LE16TOH(x) (x)
+#endif
+
#include "psemuxa.h"
#endif /* __P_STDAFX_H__ */
#include "psemuxa.h"
#endif /* __P_STDAFX_H__ */