diff --git a/make.h b/make.h index 49c25224..adaccf3f 100644 --- a/make.h +++ b/make.h @@ -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 so + that the declaration therein is changed. */ +#define signal bsdsignal +#endif + #define _GNU_SOURCE #include #include @@ -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