From: Richard Levitte Date: Mon, 4 Nov 2002 06:25:38 +0000 (+0000) Subject: nasm can compile for Borland C X-Git-Tag: OpenSSL_0_9_6h~65 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7dde4eb91e23218797cb0215245915dc292f7842;p=oweals%2Fopenssl.git nasm can compile for Borland C --- diff --git a/crypto/bn/bn.h b/crypto/bn/bn.h index 03bae9b950..c0d6b1612d 100644 --- a/crypto/bn/bn.h +++ b/crypto/bn/bn.h @@ -155,7 +155,7 @@ extern "C" { #define BN_BYTES 4 #define BN_BITS2 32 #define BN_BITS4 16 -#ifdef _MSC_VER +#if defined(_MSC_VER) || defined(__BORLANDC__) /* VC++ doesn't like the LL suffix */ #define BN_MASK (0xffffffffffffffffL) #else diff --git a/util/pl/BC-32.pl b/util/pl/BC-32.pl index c268c49550..655606cc16 100644 --- a/util/pl/BC-32.pl +++ b/util/pl/BC-32.pl @@ -52,9 +52,9 @@ $lfile=''; $shlib_ex_obj=""; $app_ex_obj="c0x32.obj"; -$asm='n_o_T_a_s_m'; +$asm='nasmw -f obj'; $asm.=" /Zi" if $debug; -$afile='/Fo'; +$afile='-o'; $bn_mulw_obj=''; $bn_mulw_src='';