sun forte does not define __sun__, only __sun and sun (gcc defines all the three)
This commit is contained in:
parent
caa29b4776
commit
ed9c9732c9
@ -131,7 +131,7 @@
|
||||
that dictates _XOPEN_SOURCE=600, but Solaris checks for 500.
|
||||
So, let's define 500 for solaris only.
|
||||
*/
|
||||
#ifdef __sun__
|
||||
#ifdef __sun
|
||||
#define _XOPEN_SOURCE 500
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user