]> git.sur5r.net Git - armstart-ibdap/blob - inc/compiler.h
Fix build
[armstart-ibdap] / inc / compiler.h
1 /*
2  * compiler.h
3  *
4  *  Created on: Jun 18, 2015
5  *      Author: yliu
6  */
7
8 #ifndef COMPILER_H_
9 #define COMPILER_H_
10
11 #if defined ( __GNUC__ )
12 #define __ALWAYS_INLINE __attribute__((always_inline))
13 #define __forceinline   __ALWAYS_INLINE
14 #define __weak                  __attribute__ ((weak))
15 #endif
16
17
18
19 #endif /* COMPILER_H_ */