summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/include/sys/cdefs.h
blob: 9f256f59fd08257f7b0f2a878ca91086d614c03a (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
#ifndef _SYS_CDEFS_H
#define _SYS_CDEFS_H

#ifndef __cplusplus
#define throw ()
#define __THROW
#else
#define __THROW throw ()
#endif

#ifndef __GNUC__
#define __attribute__(xyz)
#endif

#define __pure__
#ifdef __GNUC__
#if (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 96))
#undef __pure__
#define __pure__ __attribute__ ((__pure__))
#endif

#endif

#endif