http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48019
--- Comment #5 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-03-09 18:30:12 UTC --- > --- Comment #4 from Ian Lance Taylor <ian at airs dot com> 2011-03-09 > 18:21:44 UTC --- > Come to think of it, the code sets SA_RESTART when it calls sigaction. Is > SA_RESTART defined on Solaris? Do I have to #define any special macros to get > it to be defined? It is defined, given the following conditions: #if defined(__EXTENSIONS__) || defined(_KERNEL) || \ (!defined(_STRICT_STDC) && !defined(_POSIX_C_SOURCE)) || \ defined(_XPG4_2) I.e. it is missing in a strict ANSI C/non-XPG 4.2+ environment. Rainer