1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/plugins/sdl/progs/duke3d/Engine/src/platform.h
Vencislav Atanasov 183e45e8d0
sdl: Remove platform-specific code
Also nuke the Makefiles of Duke Nukem 3D (pun intended).

Change-Id: If2707cf079bfb9299347f9c5f980780134b6ecda
2019-07-29 01:59:40 +03:00

24 lines
465 B
C

#ifndef _INCLUDE_PLATFORM_DUKE_H_
#define _INCLUDE_PLATFORM_DUKE_H_
#if (defined ROCKBOX)
#include "rockbox_compat.h"
#else
#error Define your platform!
#endif
#if (!defined __EXPORT__)
#define __EXPORT__
#endif
uint16_t _swap16(uint16_t D);
unsigned int _swap32(unsigned int D);
#define PLATFORM_LITTLEENDIAN 1
#define BUILDSWAP_INTEL16(x) (x)
#define BUILDSWAP_INTEL32(x) (x)
#endif /* !defined _INCLUDE_PLATFORM_H_ */
/* end of platform.h ... */