Land #880, move function attribute shims
This commit is contained in:
commit
0c3849a055
@ -16,4 +16,16 @@
|
||||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_ATTRIBUTE__BOUNDED__) && !defined(__bounded__)
|
||||
# define __bounded__(x, y, z)
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_ATTRIBUTE__DEAD) && !defined(__dead)
|
||||
#ifdef _MSC_VER
|
||||
#define __dead __declspec(noreturn)
|
||||
#else
|
||||
#define __dead __attribute__((__noreturn__))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -45,18 +45,6 @@ typedef SSIZE_T ssize_t;
|
||||
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_ATTRIBUTE__BOUNDED__) && !defined(__bounded__)
|
||||
# define __bounded__(x, y, z)
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_ATTRIBUTE__DEAD) && !defined(__dead)
|
||||
#ifdef _MSC_VER
|
||||
#define __dead __declspec(noreturn)
|
||||
#else
|
||||
#define __dead __attribute__((__noreturn__))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define __warn_references(sym,msg)
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user