summaryrefslogtreecommitdiff
path: root/build-aux/snippet
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-07-12 11:56:28 +0200
committerBruno Haible <bruno@clisp.org>2011-07-12 11:58:50 +0200
commit3ee6fd473628159570b5495f59f4c560a3869dda (patch)
tree309ad7160a07f3b8d31020d56b1b21d0d14799b2 /build-aux/snippet
parent78023f0fedd00d3aaf32c747f7cee2c76a942e48 (diff)
downloadgnulib-3ee6fd473628159570b5495f59f4c560a3869dda.tar.gz
Rename module '_Noreturn' to 'snippet/_Noreturn'.
* modules/snippet/_Noreturn: Renamed from modules/_Noreturn. (Files, Makefile.am): Update. * build-aux/snippet/_Noreturn.h: Renamed from build-aux/_Noreturn.h. * modules/stdlib (Depends-on): Update.
Diffstat (limited to 'build-aux/snippet')
-rw-r--r--build-aux/snippet/_Noreturn.h10
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 0000000000..1a7b4daed0
--- /dev/null
+++ b/build-aux/snippet/_Noreturn.h
@@ -0,0 +1,10 @@
+#ifndef _Noreturn
+# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \
+ || 0x5110 <= __SUNPRO_C)
+# define _Noreturn __attribute__ ((__noreturn__))
+# elif 1200 <= _MSC_VER
+# define _Noreturn __declspec (noreturn)
+# else
+# define _Noreturn
+# endif
+#endif