提交 5685dcd4 编写于 作者: B Bodo Möller

improve readability of #if conditions (ELF, if defined, supersedes BSDI

[which we don't really define if ELF is defined, but who knows])
上级 c91b5c71
...@@ -75,7 +75,7 @@ sub asm_finish_cpp ...@@ -75,7 +75,7 @@ sub asm_finish_cpp
#define TYPE(a,b) .type a,b #define TYPE(a,b) .type a,b
#define SIZE(a,b) .size a,b #define SIZE(a,b) .size a,b
#if defined(OUT) || defined(BSDI) #if defined(OUT) || (defined(BSDI) && !defined(ELF))
$tmp $tmp
#endif #endif
...@@ -84,7 +84,7 @@ $tmp ...@@ -84,7 +84,7 @@ $tmp
#define ALIGN 4 #define ALIGN 4
#endif #endif
#ifdef BSDI #if defined(BSDI) && !defined(ELF)
#define OK 1 #define OK 1
#define ALIGN 4 #define ALIGN 4
#undef SIZE #undef SIZE
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册