sun forte does not define __sun__, only __sun and sun (gcc defines all the three)

This commit is contained in:
serg@serg.mylan 2005-03-15 18:45:29 +01:00
parent caa29b4776
commit ed9c9732c9

View File

@ -131,7 +131,7 @@
that dictates _XOPEN_SOURCE=600, but Solaris checks for 500. that dictates _XOPEN_SOURCE=600, but Solaris checks for 500.
So, let's define 500 for solaris only. So, let's define 500 for solaris only.
*/ */
#ifdef __sun__ #ifdef __sun
#define _XOPEN_SOURCE 500 #define _XOPEN_SOURCE 500
#endif #endif