1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

r24354: Remove offsetof macro

Samba4 seems not to suffer from it
(This used to be commit d93b5d50a0)
This commit is contained in:
Volker Lendecke 2007-08-12 21:23:06 +00:00 committed by Gerald (Jerry) Carter
parent 0bb638a798
commit b01978f2a9

View File

@ -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,