diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-08-19 21:27:12 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-08-19 21:27:12 (GMT) |
commit | 26fbe7f1e68bb0c96da32491efcf3696fe6c299b (patch) | |
tree | c4d95289187a64e9c7517bf73d8208026c3d2fb3 /build-aux/snippet/_Noreturn.h | |
parent | 5f79e3e9f62ca5487d9881973149136ba1d19d3e (diff) | |
download | monitoring-plugins-26fbe7f1e68bb0c96da32491efcf3696fe6c299b.tar.gz |
Sync with the latest Gnulib code (6f2d632)
Diffstat (limited to 'build-aux/snippet/_Noreturn.h')
-rw-r--r-- | build-aux/snippet/_Noreturn.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build-aux/snippet/_Noreturn.h b/build-aux/snippet/_Noreturn.h new file mode 100644 index 0000000..c44ad89 --- /dev/null +++ b/build-aux/snippet/_Noreturn.h | |||
@@ -0,0 +1,10 @@ | |||
1 | #if !defined _Noreturn && __STDC_VERSION__ < 201112 | ||
2 | # if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \ | ||
3 | || 0x5110 <= __SUNPRO_C) | ||
4 | # define _Noreturn __attribute__ ((__noreturn__)) | ||
5 | # elif 1200 <= _MSC_VER | ||
6 | # define _Noreturn __declspec (noreturn) | ||
7 | # else | ||
8 | # define _Noreturn | ||
9 | # endif | ||
10 | #endif | ||