From: Richard Levitte Date: Thu, 18 Jul 2002 12:38:07 +0000 (+0000) Subject: Further enhance assembler support on Cygwin and DJGPP. X-Git-Tag: OpenSSL_0_9_7-beta3~25 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=90baf2a92da87584db7675ed496304f849e1c0ad;p=oweals%2Fopenssl.git 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. --- 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