projects
/
tedtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add common c-utils, make flatdb aligned on disk
[tedtools.git]
/
tbtree.h
diff --git
a/tbtree.h
b/tbtree.h
index
3971fda
..
28d8837
100644
(file)
--- a/
tbtree.h
+++ b/
tbtree.h
@@
-32,11
+32,7
@@
#include <sys/types.h>
-
-/* C-utils */
-#ifndef offsetof
-#define offsetof(type, field) ((int) &((type *)0)->field)
-#endif /* offsetof */
+#include "tools.h"
#define HASHSIZE(LEN) ( (LEN)<<1 )
/* end utils */