Add a couple of macros that make OpenSSL compilable on SunOS 4.1.4.
authorRichard Levitte <levitte@openssl.org>
Fri, 19 May 2000 08:53:06 +0000 (08:53 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 19 May 2000 08:53:06 +0000 (08:53 +0000)
Contributed by SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp>

e_os.h

diff --git a/e_os.h b/e_os.h
index 0c84e7328add23e1ca5bdfb89facdb07c64597ac..4c39cb02380fbb1832b072f218de920188a40795 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -403,6 +403,11 @@ extern HINSTANCE _hInstance;
 #endif
 #endif
 
 #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.
 /***********************************************/
 
 /* do we need to do this for getenv.