mirror of
https://github.com/samba-team/samba.git
synced 2025-09-23 01:44:20 +03:00
r24354: Remove offsetof macro
Samba4 seems not to suffer from it
(This used to be commit d93b5d50a0
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
0bb638a798
commit
b01978f2a9
@@ -52,10 +52,6 @@
|
|||||||
#define QSORT_CAST (int (*)(const void *, const void *))
|
#define QSORT_CAST (int (*)(const void *, const void *))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef offsetof
|
|
||||||
#define offsetof(t,f) ((unsigned int)&((t *)0)->f)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_STDINT_H
|
#ifdef HAVE_STDINT_H
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
/* force off HAVE_INTTYPES_H so that roken doesn't try to include both,
|
/* force off HAVE_INTTYPES_H so that roken doesn't try to include both,
|
||||||
|
Reference in New Issue
Block a user