nasm can compile for Borland C
authorRichard Levitte <levitte@openssl.org>
Mon, 4 Nov 2002 06:25:38 +0000 (06:25 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 4 Nov 2002 06:25:38 +0000 (06:25 +0000)
crypto/bn/bn.h
util/pl/BC-32.pl

index 03bae9b95004438b96bff2952b747a7ec87c377b..c0d6b1612d517c6840e39813a3b913fa787dac60 100644 (file)
@@ -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
index c268c495507c76538b472aa67abd07bf9012b956..655606cc1666469688f8b18829242d241981d1a8 100644 (file)
@@ -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='';