svn commit: samba r24354 - in
branches/SAMBA_3_2/source/lib/replace: .
vlendec at samba.org
vlendec at samba.org
Sun Aug 12 21:23:07 GMT 2007
Author: vlendec
Date: 2007-08-12 21:23:06 +0000 (Sun, 12 Aug 2007)
New Revision: 24354
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24354
Log:
Remove offsetof macro
Samba4 seems not to suffer from it
Modified:
branches/SAMBA_3_2/source/lib/replace/replace.h
Changeset:
Modified: branches/SAMBA_3_2/source/lib/replace/replace.h
===================================================================
--- branches/SAMBA_3_2/source/lib/replace/replace.h 2007-08-12 17:36:42 UTC (rev 24353)
+++ branches/SAMBA_3_2/source/lib/replace/replace.h 2007-08-12 21:23:06 UTC (rev 24354)
@@ -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,
More information about the samba-cvs
mailing list