Subversion Repositories Kolibri OS

Rev

Rev 1970 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1970 Rev 3480
Line 1... Line 1...
1
#ifndef __LINUX_COMPILER_H
1
#ifndef __LINUX_COMPILER_H
2
#error "Please don't include  directly, include  instead."
2
#error "Please don't include  directly, include  instead."
3
#endif
3
#endif
Line 4... Line 4...
4
 
4
 
5
#if __GNUC_MINOR__ < 2
5
#if GCC_VERSION < 30200
6
# error Sorry, your compiler is too old - please upgrade it.
6
# error Sorry, your compiler is too old - please upgrade it.
Line 7... Line 7...
7
#endif
7
#endif
8
 
8
 
9
#if __GNUC_MINOR__ >= 3
9
#if GCC_VERSION >= 30300
10
# define __used                 __attribute__((__used__))
10
# define __used                 __attribute__((__used__))
11
#else
11
#else
Line 12... Line 12...
12
# define __used                 __attribute__((__unused__))
12
# define __used                 __attribute__((__unused__))
13
#endif
13
#endif
14
 
14
 
Line 15... Line 15...
15
#if __GNUC_MINOR__ >= 4
15
#if GCC_VERSION >= 30400
16
#define __must_check            __attribute__((warn_unused_result))
16
#define __must_check            __attribute__((warn_unused_result))
17
#endif
17
#endif
18
 
18
 
19
#ifdef CONFIG_GCOV_KERNEL
19
#ifdef CONFIG_GCOV_KERNEL