summaryrefslogtreecommitdiff
path: root/source3/lib/replace
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-08-12 21:23:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:35 -0500
commitb01978f2a9edd7cf1fa89d3d6db1244c48c37fe1 (patch)
tree17588669c5b696adb82049a9417c65c44eae461e /source3/lib/replace
parent0bb638a7987fe499bc31354e2c846161d4cef294 (diff)
downloadsamba-b01978f2a9edd7cf1fa89d3d6db1244c48c37fe1.tar.gz
samba-b01978f2a9edd7cf1fa89d3d6db1244c48c37fe1.tar.bz2
samba-b01978f2a9edd7cf1fa89d3d6db1244c48c37fe1.zip
r24354: Remove offsetof macro
Samba4 seems not to suffer from it (This used to be commit d93b5d50a00286586c931a5876f5933a520b6ce7)
Diffstat (limited to 'source3/lib/replace')
-rw-r--r--source3/lib/replace/replace.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/lib/replace/replace.h b/source3/lib/replace/replace.h
index e827719951..06173bd84b 100644
--- a/source3/lib/replace/replace.h
+++ b/source3/lib/replace/replace.h
@@ -52,10 +52,6 @@
#define QSORT_CAST (int (*)(const void *, const void *))
#endif
-#ifndef offsetof
-#define offsetof(t,f) ((unsigned int)&((t *)0)->f)
-#endif
-
#ifdef HAVE_STDINT_H
#include <stdint.h>
/* force off HAVE_INTTYPES_H so that roken doesn't try to include both,