summaryrefslogtreecommitdiff
path: root/mit-pthreads/machdep/linux-2.0/cdefs.h
blob: 04f93a138c9cd6cae49589131c68959b41f985e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* This is intended to eventually find /usr/include/sys/cdefs.h
 * if it's inside the ifdef then it won't work if this file is 
 * found in the include files path more than once.
 *
 * include_next is a GNU C extension, we might eventually want
 * to have our own cdefs in here simply to avoid GNU C dependencies
 * (though there are already enough in the asm stuff anyways)
 * [gsstark:19950419.0307EST]
 */

/* We are almost always included from features.h. */

#ifndef _FEATURES_H
#include <features.h>
#endif

#ifndef __BITS_SOCKET_H
#define __BITS_SOCKET_H
#endif

#define __need_timespec

#include_next <sys/cdefs.h>

#ifndef _PTHREAD_SYS_CDEFS_H_
#define _PTHREAD_SYS_CDEFS_H_

#ifndef __NORETURN
#define __NORETURN
#endif /* __NORETURN not defined.  */

#if !defined(__cplusplus)
#define __CAN_DO_EXTERN_INLINE
#endif

#endif /* _PTHREAD_SYS_CDEFS_H_ */