diff options
author | Andy Polyakov <appro@openssl.org> | 2005-09-20 20:25:17 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-09-20 20:25:17 +0000 |
commit | ed1f716022be3c28cecc485ecb608178455e4f94 (patch) | |
tree | 3cb8a5792cfd9b834fc882a2c86228b2536ee445 /e_os.h | |
parent | d3205a48981a1f534d5d6ba8042733ef9238da90 (diff) |
"Overload" SunOS 4.x memcmp, which ruins ASN1_OBJECT table lookups [from HEAD].
PR: 1196
Submitted by: Russel Ruby
Diffstat (limited to 'e_os.h')
-rw-r--r-- | e_os.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -565,6 +565,9 @@ extern HINSTANCE _hInstance; extern char *sys_errlist[]; extern int sys_nerr; # define strerror(errnum) \ (((errnum)<0 || (errnum)>=sys_nerr) ? NULL : sys_errlist[errnum]) + /* Being signed SunOS 4.x memcpy breaks ASN1_OBJECT table lookup */ +#include "o_str.h" +# define memcmp OPENSSL_memcmp #endif #ifndef OPENSSL_EXIT |