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:
parent
608c31c60d
commit
89269c84fe
1 changed files with 5 additions and 0 deletions
5
e_os.h
5
e_os.h
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue