quiet warnings on OS X

This commit is contained in:
Mike Ryan 2016-01-27 16:13:01 -08:00 committed by Tyler J. Stachecki
parent a4c7397848
commit 4650fb491f

View file

@ -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))