aboutsummaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-08-19 14:22:22 +0200
committerThomas White <taw@physics.org>2014-08-19 14:47:44 +0200
commit7ae6605846ecc70c937fca31b2133082aae055df (patch)
tree00bcacb21248f86caf91a02c55bc5178a52cd27f /build-aux
parent1a532028cb2f2df6f12e518bdf6d3425bbb28b08 (diff)
Use Gnulib forkpty()
Diffstat (limited to 'build-aux')
-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 00000000..c44ad89b
--- /dev/null
+++ b/build-aux/snippet/_Noreturn.h
@@ -0,0 +1,10 @@
+#if !defined _Noreturn && __STDC_VERSION__ < 201112
+# 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