#ifndef _EMIF_H_
#define _EMIF_H_ <--防止重复自己
<---好像少点东西.
#include "regs.h"        /* EMIF Register Addresses and bitfield definitions */
<-- 好像是要操作硬件的, 是单片机的程序? 某头文件.
#if _INLINE  <--作者不知道编译器支不支持static inline 这个要你负责设置,或他在程序别的地方设置.
#define __INLINE static inline
#else
#define __INLINE
#endif

解决方案 »

  1.   

    #ifndef _EMIF_H_   // 如果未定义【宏定义】
    #define _EMIF_H_   // 定义之#include "regs.h"        /* EMIF Register Addresses and bitfield definitions */#if _INLINE           // 如果定义了 _INLINE的值不为0
    #define __INLINE static inline  那么定义__INLINE 为static inline
    #else                 // 否则     
    #define __INLINE                定义__INLINE什么都不干,空的
    #endif                // 结束 if _INLINE…………
    // 最后还有一句
    #endif                // 对应 #ifndef _EMIF_H_   【VC常有】