diff options
author | Jim Meyering <jim@meyering.net> | 1999-08-22 10:57:51 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-08-22 10:57:51 +0000 |
commit | 95b8288176798870e89287ec2f36722861400260 (patch) | |
tree | 9dc9b6b503d077c78dc06b8e9686fab7cde9b266 /src | |
parent | 5a2d52808138eb6a7cd3b3c5a478fe705d85e7ff (diff) | |
download | coreutils-95b8288176798870e89287ec2f36722861400260.tar.xz |
(ATTRIBUTE_NORETURN): Define.
Diffstat (limited to 'src')
-rw-r--r-- | src/sys2.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h index ecb348105..8e80aa356 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -357,3 +357,9 @@ char *base_name PARAMS ((char const *)); #else # define IF_LINT(Code) /* empty */ #endif + +#if __GNUC__ +# define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__)) +#else +# define ATTRIBUTE_NORETURN /* empty */ +#endif |