mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Merge pull request #1794 from joolswills/patch-1
GCC 4.7 does not have __builtin_bswap16 on all platforms
This commit is contained in:
commit
f768a2d867
@ -27,7 +27,7 @@
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#if defined(__llvm__) || (defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 403)
|
||||
#if defined(__llvm__) || (defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 408)
|
||||
#define SWAP16 __builtin_bswap16
|
||||
#define SWAP32 __builtin_bswap32
|
||||
#elif defined(_MSC_VER)
|
||||
|
Loading…
x
Reference in New Issue
Block a user