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>
This commit is contained in:
Richard Levitte 2000-05-19 08:53:06 +00:00
parent 608c31c60d
commit 89269c84fe

5
e_os.h
View file

@ -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.