From ec9ea6a3c884cdd8498d9fc7093fbe0f070a3037 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 18 Jul 2002 12:37:59 +0000 Subject: [PATCH] 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. --- crypto/perlasm/x86asm.pl | 6 ++++++ util/pod2mantest | 1 + 2 files changed, 7 insertions(+) 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