0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00

Fix double define of U64() macro

This commit is contained in:
Pavel Tvrdik 2016-06-01 16:34:21 +02:00
parent ebb9ae8c6b
commit c7e33e5002

View File

@ -30,7 +30,9 @@
#define MAX(a,b) MAX_(a,b)
#endif
#ifndef U64
#define U64(c) UINT64_C(c)
#endif
#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)))