blob: 6d91d25530ff0d16c1effb22ddcdba0e6cfbb8fb [file] [log] [blame]
Franklin Weia855d622017-01-21 15:18:31 -05001#ifndef _INCLUDE_PLATFORM_DUKE_H_
2#define _INCLUDE_PLATFORM_DUKE_H_
3
Vencislav Atanasov183e45e2019-07-28 23:31:50 +03004#if (defined ROCKBOX)
Franklin Weia855d622017-01-21 15:18:31 -05005 #include "rockbox_compat.h"
6#else
7#error Define your platform!
8#endif
9
10#if (!defined __EXPORT__)
11 #define __EXPORT__
12#endif
13
14uint16_t _swap16(uint16_t D);
15unsigned int _swap32(unsigned int D);
Franklin Weia855d622017-01-21 15:18:31 -050016#define PLATFORM_LITTLEENDIAN 1
17#define BUILDSWAP_INTEL16(x) (x)
18#define BUILDSWAP_INTEL32(x) (x)
Franklin Weia855d622017-01-21 15:18:31 -050019
20#endif /* !defined _INCLUDE_PLATFORM_H_ */
21
22/* end of platform.h ... */
23
24