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:
parent
f8560ea66c
commit
d93b5d50a0
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user