git.samba.org
/
jpeach
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12c0b1d
)
offsetof() is always present as shown in some
author
Stefan Metzmacher
<metze@samba.org>
Fri, 12 Oct 2007 08:06:27 +0000
(10:06 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 12 Oct 2007 08:06:27 +0000
(10:06 +0200)
libreplace testing.
metze
source/lib/tdb/common/tdb_private.h
patch
|
blob
|
history
diff --git
a/source/lib/tdb/common/tdb_private.h
b/source/lib/tdb/common/tdb_private.h
index 032b0ca6382a6d26a2b581df93a16cb69b15a0a7..d2f2c23d7296901cf3d83f178fead2f34094df56 100644
(file)
--- a/
source/lib/tdb/common/tdb_private.h
+++ b/
source/lib/tdb/common/tdb_private.h
@@
-37,10
+37,6
@@
typedef uint32_t tdb_len_t;
typedef uint32_t tdb_off_t;
-#ifndef offsetof
-#define offsetof(t,f) ((unsigned int)&((t *)0)->f)
-#endif
-
#define TDB_MAGIC_FOOD "TDB file\n"
#define TDB_VERSION (0x26011967 + 6)
#define TDB_MAGIC (0x26011999U)