Needed for build on SunOS 4.1.x with gcc (Jeffrey Hutzelman <jhutz@cmu.edu>).
This commit is contained in:
parent
2cb95a153e
commit
029fb8aa26
1 changed files with 3 additions and 0 deletions
3
e_os.h
3
e_os.h
|
@ -420,6 +420,9 @@ extern HINSTANCE _hInstance;
|
|||
#endif
|
||||
|
||||
#if defined(sun) && !defined(__svr4__) && !defined(__SVR4)
|
||||
/* include headers first, so our defines don't break it */
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
/* bcopy can handle overlapping moves according to SunOS 4.1.4 manpage */
|
||||
# define memmove(s1,s2,n) bcopy((s2),(s1),(n))
|
||||
# define strtoul(s,e,b) ((unsigned long int)strtol((s),(e),(b)))
|
||||
|
|
Loading…
Reference in a new issue