diff options
author | Thomas White <taw@physics.org> | 2014-08-19 14:22:22 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-08-19 14:47:44 +0200 |
commit | 7ae6605846ecc70c937fca31b2133082aae055df (patch) | |
tree | 00bcacb21248f86caf91a02c55bc5178a52cd27f /build-aux | |
parent | 1a532028cb2f2df6f12e518bdf6d3425bbb28b08 (diff) |
Use Gnulib forkpty()
Diffstat (limited to 'build-aux')
-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 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 |