summaryrefslogtreecommitdiffstats
path: root/crypto/perlasm
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-07-18 12:37:59 +0000
committerRichard Levitte <levitte@openssl.org>2002-07-18 12:37:59 +0000
commitec9ea6a3c884cdd8498d9fc7093fbe0f070a3037 (patch)
treee3f6d7915f4dc3f5138d9f36a668bee1be29050d /crypto/perlasm
parent7e6617611f833385257dcfa11dc5e4d1aedf1591 (diff)
Further enhance assembler support on Cygwin and DJGPP.
Make pod2mantest useable on DOS-based systems. Part of PR 75, the rest is still under investigation.
Diffstat (limited to 'crypto/perlasm')
-rw-r--r--crypto/perlasm/x86asm.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/perlasm/x86asm.pl b/crypto/perlasm/x86asm.pl
index 81c6e64e87..9a3d85b098 100644
--- a/crypto/perlasm/x86asm.pl
+++ b/crypto/perlasm/x86asm.pl
@@ -87,6 +87,12 @@ $tmp
#ifdef OUT
#define OK 1
#define ALIGN 4
+#if defined(__CYGWIN__) || defined(__DJGPP__)
+#undef SIZE
+#undef TYPE
+#define SIZE(a,b)
+#define TYPE(a,b)
+#endif /* __CYGWIN || __DJGPP */
#endif
#if defined(BSDI) && !defined(ELF)