* config/sun4os4.mh (XDEPFILES): fork-child.o removed.
[deliverable/binutils-gdb.git] / gdb / stddef.h
1 #ifndef _STDDEF_H
2 #define _STDDEF_H
3
4 /* Signed type of difference of two pointers. */
5
6 typedef long ptrdiff_t;
7
8 /* Unsigned type of `sizeof' something. */
9
10 /* in case <sys/types.h> has defined it. */
11 /* DECstation uses _SIZE_T_. */
12 #if !defined (_SIZE_T) && !defined (_SIZE_T_)
13 #define _SIZE_T
14 typedef unsigned long size_t;
15 #endif /* _SIZE_T */
16
17 /* A null pointer constant. */
18
19 #undef NULL /* in case <stdio.h> has defined it. */
20 #define NULL 0
21
22 /* Offset of member MEMBER in a struct of type TYPE. */
23
24 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
25
26 #endif /* _STDDEF_H */
This page took 0.02983 seconds and 4 git commands to generate.