mirror of
https://github.com/n64dev/cen64.git
synced 2024-06-23 06:22:56 -04:00
quiet warnings on OS X
This commit is contained in:
parent
a4c7397848
commit
4650fb491f
|
@ -136,10 +136,12 @@ typedef char bool;
|
|||
#define htonll(x) (x)
|
||||
#define ntohll(x) (x)
|
||||
#else
|
||||
#ifndef __APPLE__
|
||||
#define htonll(x) __builtin_bswap64(x)
|
||||
#define ntohll(x) __builtin_bswap64(x)
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
__attribute__((pure))
|
||||
|
|
Loading…
Reference in a new issue