svn commit: samba r24350 - in branches/SAMBA_4_0: .
source/lib/replace
jelmer at samba.org
jelmer at samba.org
Sun Aug 12 12:21:35 GMT 2007
Author: jelmer
Date: 2007-08-12 12:21:34 +0000 (Sun, 12 Aug 2007)
New Revision: 24350
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24350
Log:
Remove offsetof() replacement to see if there are actually any
hosts that don't have it.
Modified:
branches/SAMBA_4_0/
branches/SAMBA_4_0/source/lib/replace/README
branches/SAMBA_4_0/source/lib/replace/replace.h
Changeset:
Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:file-ids
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...
Modified: branches/SAMBA_4_0/source/lib/replace/README
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/README 2007-08-12 12:15:32 UTC (rev 24349)
+++ branches/SAMBA_4_0/source/lib/replace/README 2007-08-12 12:21:34 UTC (rev 24350)
@@ -92,7 +92,6 @@
ZERO_ARRAY
ARRAY_SIZE
PTR_DIFF
-offsetof
Headers:
stdint.h
Modified: branches/SAMBA_4_0/source/lib/replace/replace.h
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/replace.h 2007-08-12 12:15:32 UTC (rev 24349)
+++ branches/SAMBA_4_0/source/lib/replace/replace.h 2007-08-12 12:21:34 UTC (rev 24350)
@@ -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