compiler-gcc4.h
上传用户:szlgq88
上传日期:2009-04-28
资源大小:48287k
文件大小:1k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. /* Never include this file directly.  Include <linux/compiler.h> instead.  */
  2. /* These definitions are for GCC v4.x.  */
  3. #include <linux/compiler-gcc.h>
  4. #define inline inline __attribute__((always_inline))
  5. #define __inline__ __inline__ __attribute__((always_inline))
  6. #define __inline __inline __attribute__((always_inline))
  7. #define __deprecated __attribute__((deprecated))
  8. #define __attribute_used__ __attribute__((__used__))
  9. #define __attribute_pure__ __attribute__((pure))
  10. #define __attribute_const__ __attribute__((__const__))
  11. #define  noinline __attribute__((noinline))
  12. #define __must_check  __attribute__((warn_unused_result))
  13. #define __compiler_offsetof(a,b) __builtin_offsetof(a,b)