From b01978f2a9edd7cf1fa89d3d6db1244c48c37fe1 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 12 Aug 2007 21:23:06 +0000 Subject: [PATCH] r24354: Remove offsetof macro Samba4 seems not to suffer from it (This used to be commit d93b5d50a00286586c931a5876f5933a520b6ce7) --- source3/lib/replace/replace.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source3/lib/replace/replace.h b/source3/lib/replace/replace.h index e827719951f..06173bd84b9 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 /* force off HAVE_INTTYPES_H so that roken doesn't try to include both,