Commit 89269c84 authored by Richard Levitte's avatar Richard Levitte
Browse files

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>
parent 608c31c6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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.