From 7dde4eb91e23218797cb0215245915dc292f7842 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 4 Nov 2002 06:25:38 +0000 Subject: [PATCH] nasm can compile for Borland C --- crypto/bn/bn.h | 2 +- util/pl/BC-32.pl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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=''; -- 2.25.1