diff options
-rw-r--r-- | make.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -20,6 +20,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #pragma alloca #endif +#ifdef CRAY +/* This must happen before #include <signal.h> so + that the declaration therein is changed. */ +#define signal bsdsignal +#endif + #define _GNU_SOURCE #include <sys/types.h> #include <sys/stat.h> @@ -56,10 +62,6 @@ extern int errno; #define RETSIGTYPE void #endif -#ifdef CRAY -#define signal bsdsignal -#endif - #ifndef sigmask #define sigmask(sig) (1 << ((sig) - 1)) #endif |