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:
parent
0bb638a798
commit
b01978f2a9
@ -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