mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
include stddef.h
This commit is contained in:
parent
780044f27a
commit
5ebc0cad57
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
/* Interface to map C struct members to Python object attributes */
|
/* Interface to map C struct members to Python object attributes */
|
||||||
|
|
||||||
|
#ifdef HAVE_STDDEF_H
|
||||||
|
#include <stddef.h> /* For offsetof */
|
||||||
|
#endif
|
||||||
|
|
||||||
/* The offsetof() macro calculates the offset of a structure member
|
/* The offsetof() macro calculates the offset of a structure member
|
||||||
in its structure. Unfortunately this cannot be written down
|
in its structure. Unfortunately this cannot be written down
|
||||||
portably, hence it is provided by a Standard C header file.
|
portably, hence it is provided by a Standard C header file.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue