Go to the documentation of this file.
18#ifndef __VSF_SDL2_ENDIAN_H__
19#define __VSF_SDL2_ENDIAN_H__
23#include "../../vsf_sdl2_cfg.h"
25#if VSF_USE_SDL2 == ENABLED
38#define SDL_BYTEORDER __BYTE_ORDER
39#define SDL_LIL_ENDIAN __LITTLE_ENDIAN
40#define SDL_BIG_ENDIAN __BIG_ENDIAN
45#define SDL_Swap16 bswap_16
46#define SDL_Swap32 bswap_32
47#define SDL_Swap64 bswap_64
49#define SDL_SwapLE16 cpu_to_le16
50#define SDL_SwapLE32 cpu_to_le32
51#define SDL_SwapLE64 cpu_to_le64
52#define SDL_SwapBE16 cpu_to_be16
53#define SDL_SwapBE32 cpu_to_be32
54#define SDL_SwapBE64 cpu_to_be64