~vcs-imports/libtasn1/trunk

« back to all changes in this revision

Viewing changes to build-aux/snippet/_Noreturn.h

  • Committer: Nikos Mavrogiannopoulos
  • Date: 2018-01-21 09:50:55 UTC
  • Revision ID: git-v1:73fa8255ac65985b2a7b5596191892b6027e0c4d
development moved to gitlab

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>

Show diffs side-by-side

added added

removed removed

Lines of Context:
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