diff options
author | Richard Levitte <levitte@openssl.org> | 2000-05-19 10:53:06 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-05-19 10:53:06 +0200 |
commit | 89269c84fe79a6e31b8a335f02fe3bb2dbaca69e (patch) | |
tree | cbe43d55c53e7b03baf3019f86c2f4789d425408 /e_os.h | |
parent | typo (diff) | |
download | openssl-89269c84fe79a6e31b8a335f02fe3bb2dbaca69e.tar.xz openssl-89269c84fe79a6e31b8a335f02fe3bb2dbaca69e.zip |
Add a couple of macros that make OpenSSL compilable on SunOS 4.1.4.
Contributed by SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp>
Diffstat (limited to 'e_os.h')
-rw-r--r-- | e_os.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -403,6 +403,11 @@ extern HINSTANCE _hInstance; #endif #endif +#if defined(sun) && !defined(__svr4__) +#define memmove(s1,s2,b) bcopy((s2),(s1),(n)) +#define strtoul(s,e,b) ((unsigned long int)strtol((s),(e),(b))) +#endif + /***********************************************/ /* do we need to do this for getenv. |