summaryrefslogtreecommitdiff
path: root/c_src
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2016-05-13 16:59:00 +0200
committerLinus Nordberg <linus@nordu.net>2016-05-13 16:59:00 +0200
commit8a19f620874ebecf125f831c633aec02c3922fd6 (patch)
treed422d53e9582e03d672bb596d8b8f752471f5bc1 /c_src
parent593693b7817074b7fa370e2d2dc7750ae23e83c2 (diff)
Document reason for HTONLL() and NTOHLL().
Diffstat (limited to 'c_src')
-rw-r--r--c_src/util.h2
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