retro_endianness.h - need to include stdlib.h for _byteswap_ulong/

_byteswap_short
This commit is contained in:
twinaphex 2015-06-12 16:40:48 +02:00
parent 2b9d70a672
commit e514c30d0f

View File

@ -25,6 +25,7 @@
#include <retro_inline.h>
#include <stdint.h>
#include <stdlib.h>
#if defined(__llvm__) || (defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 403)
#define SWAP16 __builtin_bswap16