When compiling with /opt/SUNWspro/SC4.2/bin/cc on Solaris, __svr4__ is
not defined, but __SVR4 is.
This commit is contained in:
parent
01296a6de0
commit
af463e7e19
2
e_os.h
2
e_os.h
@ -403,7 +403,7 @@ extern HINSTANCE _hInstance;
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(sun) && !defined(__svr4__)
|
#if defined(sun) && !defined(__svr4__) && !defined(__SVR4)
|
||||||
#define memmove(s1,s2,b) bcopy((s2),(s1),(n))
|
#define memmove(s1,s2,b) bcopy((s2),(s1),(n))
|
||||||
#define strtoul(s,e,b) ((unsigned long int)strtol((s),(e),(b)))
|
#define strtoul(s,e,b) ((unsigned long int)strtol((s),(e),(b)))
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user