projects
/
fio.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8dec350b9f9eb4e1c495e5c7aa1174b60169cbd3
[fio.git]
/
compiler
/
compiler.h
1
#ifndef FIO_COMPILER_H
2
#define FIO_COMPILER_H
3
4
#if __GNUC__ >= 4
5
#include "compiler-gcc4.h"
6
#elif __GNUC__ == 3
7
#include "compiler-gcc3.h"
8
#else
9
#error Compiler too old, need gcc at least gcc 3.x
10
#endif
11
12
#ifndef __must_check
13
#define __must_check
14
#endif
15
16
#define uninitialized_var(x) x = x
17
18
#ifndef _weak
19
#ifndef __CYGWIN__
20
#define _weak __attribute__((weak))
21
#else
22
#define _weak
23
#endif
24
#endif
25
26
#endif