diff options
Diffstat (limited to 'c_src')
-rw-r--r-- | c_src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c_src/util.h b/c_src/util.h index 9713eaa..aec4512 100644 --- a/c_src/util.h +++ b/c_src/util.h @@ -15,10 +15,12 @@ #define dprintf(category,args) do { if (DEBUG_ ## category) { fprintf args; } } while (0) #define dprinthex(category,data,size) do { if (DEBUG_ ## category) { print_hex(data, size); } } while (0) +/* HTONLL() is a macro on Darwin. */ #ifndef HTONLL #define HTONLL(x) htobe64(x) #endif +/* NTOHLL() is a macro on Darwin. */ #ifndef NTOHLL #define NTOHLL(x) be64toh(x) #endif |