When compiling with /opt/SUNWspro/SC4.2/bin/cc on Solaris, __svr4__ is

not defined, but __SVR4 is.
This commit is contained in:
Bodo Möller 2000-05-31 16:42:47 +00:00
parent 01296a6de0
commit af463e7e19

2
e_os.h
View File

@ -403,7 +403,7 @@ extern HINSTANCE _hInstance;
#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