aboutsummaryrefslogtreecommitdiff
path: root/include/compat/sys
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2023-07-05 07:08:32 -0500
committerBrent Cook <busterb@gmail.com>2023-07-05 07:08:32 -0500
commit3a757272d028834c00924c08156ca0b2dfbc6a5c (patch)
tree8f543a3c8e93bad420290f950255088863f3362e /include/compat/sys
parent74be614b0c7e6f0affa4ab0bfb9c2eaab75ea470 (diff)
downloadportable-3a757272d028834c00924c08156ca0b2dfbc6a5c.tar.gz
portable-3a757272d028834c00924c08156ca0b2dfbc6a5c.tar.bz2
portable-3a757272d028834c00924c08156ca0b2dfbc6a5c.zip
move attribute shims
There's not a great place for these, but since they are internal, we can just move them to the most common header.
Diffstat (limited to 'include/compat/sys')
-rw-r--r--include/compat/sys/types.h12
1 files changed, 0 insertions, 12 deletions
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