diff options
author | Linus Nordberg <linus@nordu.net> | 2016-05-13 16:59:00 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2016-05-13 16:59:00 +0200 |
commit | 8a19f620874ebecf125f831c633aec02c3922fd6 (patch) | |
tree | d422d53e9582e03d672bb596d8b8f752471f5bc1 /c_src/util.h | |
parent | 593693b7817074b7fa370e2d2dc7750ae23e83c2 (diff) |
Document reason for HTONLL() and NTOHLL().
Diffstat (limited to 'c_src/util.h')
-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 |