summaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/e_os.h b/e_os.h
index 0c84e7328a..4c39cb0238 100644
--- a/e_os.h
+++ b/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.