I had already made the change you suggest even before reading your
email. It works great with the latest Metrowerks compiler.
Unfortunately, further testing with older versions of the compiler (the
only one available when the code was first ported to NetWare) produced
undefined symbols for "__rol". I'm not sure what exactly changed in the
newer version of Metrowerks, but we do want to support both versions of
the compiler (at least for now).

Verdon

>>> Andy Polyakov <[EMAIL PROTECTED]> 3/19/2004 7:25:59 AM >>>
> BTW, _MSC_VER was not
> defined so I changed it to __NETWARE__ which was defined (to my
> surprise):

Defined or not seems to be irrelevant. Indeed, __rol intrinsic is the
one which is implemented and it should have beed engaged as it was
(i.e.
without check for a Netware specific macro, pre-defined or not):

> int foo(int a) { return _lrotl(a,1+_MSC_VER); }
> 00000008: E800000000       call      _lrotl
> 
> int bar(int a) { return __rol(a,1+__MWERKS__); }
> 00000006: C1C007           rol       eax,0x7

Verdon, can you confirm that it works without #elif
defined(OPENSSL_SYSNAME_NETWARE) in __MWERKS__ section of
crypto/md32_common.h? It should:-) A.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to