summaryrefslogtreecommitdiff
path: root/lib/birdlib.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2015-11-24 13:47:28 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2015-11-24 13:47:28 +0100
commit5126380beace4e39578f005fe115917b8e8b8ff3 (patch)
tree123ac5af08d02855e1719a891dc0f7340f0329cb /lib/birdlib.h
parent12d752ef24ab507d249a60098ec98dcf28b70036 (diff)
Minor changes to SHA hash functions
Diffstat (limited to 'lib/birdlib.h')
-rw-r--r--lib/birdlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/birdlib.h b/lib/birdlib.h
index ad41dca3..16f437ef 100644
--- a/lib/birdlib.h
+++ b/lib/birdlib.h
@@ -30,6 +30,7 @@
#define MAX(a,b) MAX_(a,b)
#endif
+#define U64(c) UINT64_C(c)
#define ABS(a) ((a)>=0 ? (a) : -(a))
#define DELTA(a,b) (((a)>=(b))?(a)-(b):(b)-(a))
#define ARRAY_SIZE(a) (sizeof(a)/sizeof(*(a)))