When compiling with /opt/SUNWspro/SC4.2/bin/cc on Solaris, __svr4__ is
not defined, but __SVR4 is.
diff --git a/e_os.h b/e_os.h
index 4c39cb0..7e63d01 100644
--- a/e_os.h
+++ b/e_os.h
@@ -403,7 +403,7 @@
 #endif
 #endif
 
-#if defined(sun) && !defined(__svr4__)
+#if defined(sun) && !defined(__svr4__) && !defined(__SVR4)
 #define memmove(s1,s2,b) bcopy((s2),(s1),(n))
 #define strtoul(s,e,b) ((unsigned long int)strtol((s),(e),(b)))
 #endif