Skip to content
Snippets Groups Projects
Commit 0fbf5f71 authored by Lutz Jänicke's avatar Lutz Jänicke
Browse files

Needed for build on SunOS 4.1.x with gcc (Jeffrey Hutzelman <jhutz@cmu.edu>).

parent f1b28074
No related branches found
No related tags found
No related merge requests found
......@@ -425,6 +425,9 @@ extern HINSTANCE _hInstance;
#endif
#if defined(sun) && !defined(__svr4__) && !defined(__SVR4)
/* include headers first, so our evil 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)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment