1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

r24354: Remove offsetof macro

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

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,