comparison nt/config.nt @ 31860:a51cc6093b82

Add definition of NO_RETURN
author Jason Rumney <jasonr@gnu.org>
date Sun, 24 Sep 2000 11:09:19 +0000
parents c28a80aba778
children c88c298397a4
comparison
equal deleted inserted replaced
31859:9bb38b47a241 31860:a51cc6093b82
438 #ifndef NOT_C_CODE 438 #ifndef NOT_C_CODE
439 #ifdef HAVE_STRING_H 439 #ifdef HAVE_STRING_H
440 #include "string.h" 440 #include "string.h"
441 #endif 441 #endif
442 #endif 442 #endif
443
444 #ifndef NO_RETURN
445 #if defined __GNUC__ && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR >= 5))
446 #define NO_RETURN __attribute__ ((__noreturn__))
447 #else
448 #define NO_RETURN /* nothing */
449 #endif
450 #endif