summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--crypto/perlasm/x86asm.pl6
-rwxr-xr-xutil/pod2mantest1
2 files changed, 7 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)
diff --git a/util/pod2mantest b/util/pod2mantest
index 449ef14f1b..8e913180c5 100755
--- a/util/pod2mantest
+++ b/util/pod2mantest
@@ -11,6 +11,7 @@
IFS=:
+if test "$OSTYPE" = "msdosdjgpp"; then IFS=";"; fi
try_without_dir=false
# First we try "pod2man", then "$dir/pod2man" for each item in $PATH.
for dir in dummy:$PATH; do