From 7ae6605846ecc70c937fca31b2133082aae055df Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 19 Aug 2014 14:22:22 +0200 Subject: Use Gnulib forkpty() --- build-aux/snippet/_Noreturn.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 build-aux/snippet/_Noreturn.h (limited to 'build-aux') 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 -- cgit v1.2.3