aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/compat/stdint.h12
-rw-r--r--include/compat/sys/types.h12
2 files changed, 12 insertions, 12 deletions
diff --git a/include/compat/stdint.h b/include/compat/stdint.h
index 2829151..dbe3539 100644
--- a/include/compat/stdint.h
+++ b/include/compat/stdint.h
@@ -16,4 +16,16 @@
16#include <limits.h> 16#include <limits.h>
17#endif 17#endif
18 18
19#if !defined(HAVE_ATTRIBUTE__BOUNDED__) && !defined(__bounded__)
20# define __bounded__(x, y, z)
21#endif
22
23#if !defined(HAVE_ATTRIBUTE__DEAD) && !defined(__dead)
24#ifdef _MSC_VER
25#define __dead __declspec(noreturn)
26#else
27#define __dead __attribute__((__noreturn__))
28#endif
29#endif
30
19#endif 31#endif
diff --git a/include/compat/sys/types.h b/include/compat/sys/types.h
index 4967843..59664bc 100644
--- a/include/compat/sys/types.h
+++ b/include/compat/sys/types.h
@@ -45,18 +45,6 @@ typedef SSIZE_T ssize_t;
45 45
46#endif 46#endif
47 47
48#if !defined(HAVE_ATTRIBUTE__BOUNDED__) && !defined(__bounded__)
49# define __bounded__(x, y, z)
50#endif
51
52#if !defined(HAVE_ATTRIBUTE__DEAD) && !defined(__dead)
53#ifdef _MSC_VER
54#define __dead __declspec(noreturn)
55#else
56#define __dead __attribute__((__noreturn__))
57#endif
58#endif
59
60#ifdef _WIN32 48#ifdef _WIN32
61#define __warn_references(sym,msg) 49#define __warn_references(sym,msg)
62#else 50#else