aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/perlasm
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-07-06 17:28:29 +0000
committerBodo Möller <bodo@openssl.org>1999-07-06 17:28:29 +0000
commit5685dcd445558155977451754953a24f9fbf222e (patch)
treec1488f619b3f388e8954b0fb8875716582c41b27 /crypto/perlasm
parentc91b5c717c89d2e976dd5095e7cb04a9f375581d (diff)
downloadopenssl-5685dcd445558155977451754953a24f9fbf222e.tar.gz
improve readability of #if conditions (ELF, if defined, supersedes BSDI
[which we don't really define if ELF is defined, but who knows])
Diffstat (limited to 'crypto/perlasm')
-rw-r--r--crypto/perlasm/x86asm.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/perlasm/x86asm.pl b/crypto/perlasm/x86asm.pl
index c81910851a..bbbc1cb91a 100644
--- a/crypto/perlasm/x86asm.pl
+++ b/crypto/perlasm/x86asm.pl
@@ -75,7 +75,7 @@ sub asm_finish_cpp
#define TYPE(a,b) .type a,b
#define SIZE(a,b) .size a,b
-#if defined(OUT) || defined(BSDI)
+#if defined(OUT) || (defined(BSDI) && !defined(ELF))
$tmp
#endif
@@ -84,7 +84,7 @@ $tmp
#define ALIGN 4
#endif
-#ifdef BSDI
+#if defined(BSDI) && !defined(ELF)
#define OK 1
#define ALIGN 4
#undef SIZE