Skip to content

Commit

Permalink
Add a couple of macros that make OpenSSL compilable on SunOS 4.1.4.
Browse files Browse the repository at this point in the history
Contributed by SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp>
  • Loading branch information
levitte committed May 19, 2000
1 parent 608c31c commit 89269c8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions e_os.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 89269c8

Please sign in to comment.