mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
_bswap may be already defined.
This commit is contained in:
parent
ff5170d0e9
commit
34a6fe7055
@ -16,9 +16,11 @@
|
|||||||
#else
|
#else
|
||||||
# ifndef _MSC_VER
|
# ifndef _MSC_VER
|
||||||
# include <byteswap.h>
|
# include <byteswap.h>
|
||||||
|
# ifndef _bswap
|
||||||
# define _bswap(x) bswap_32(x)
|
# define _bswap(x) bswap_32(x)
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _bswap
|
#ifndef _bswap
|
||||||
# define _bswap(x) __builtin_bswap32(x)
|
# define _bswap(x) __builtin_bswap32(x)
|
||||||
|
Loading…
Reference in New Issue
Block a user