diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-10-12 10:06:27 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-10-12 10:06:27 +0200 |
commit | 9d29664b337e2b76d1672eb78717e067aa0e1d2e (patch) | |
tree | 16fe3d62a3a78be08d993c254d44a87672436f2e /source3 | |
parent | f4fd12acc873f37d54ede954eb7e48a684a7e9d0 (diff) | |
download | samba-9d29664b337e2b76d1672eb78717e067aa0e1d2e.tar.gz samba-9d29664b337e2b76d1672eb78717e067aa0e1d2e.tar.bz2 samba-9d29664b337e2b76d1672eb78717e067aa0e1d2e.zip |
offsetof() is always present as shown in some
libreplace testing.
metze
(This used to be commit 4f084efd6ac39a8347d5cfc73b727940e40150cf)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/tdb/common/tdb_private.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/lib/tdb/common/tdb_private.h b/source3/lib/tdb/common/tdb_private.h index 032b0ca638..d2f2c23d72 100644 --- a/source3/lib/tdb/common/tdb_private.h +++ b/source3/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) |