summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorthegeorg <[email protected]>2022-05-24 11:25:24 +0300
committerthegeorg <[email protected]>2022-05-24 11:25:24 +0300
commit0ece656f216a197fb7535ac68d399dee6b8ddd84 (patch)
treefd7f0f2908b805d46f7315093127d16ae3a6dfbf /contrib
parent8474907ce16eb3f8f95632d662b95e62770695a6 (diff)
Disable Solaris-specific sysincls of atomic.h and mbarrier.h
ref:ce48744f5779ab62a228107728893ac3dbd8d86a
Diffstat (limited to 'contrib')
-rw-r--r--contrib/python/cffi/c/call_python.c2
-rw-r--r--contrib/restricted/boost/boost/interprocess/detail/atomic.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/cffi/c/call_python.c b/contrib/python/cffi/c/call_python.c
index d3d2e178104..7bc41bc98a9 100644
--- a/contrib/python/cffi/c/call_python.c
+++ b/contrib/python/cffi/c/call_python.c
@@ -202,7 +202,7 @@ static int _update_cache_to_call_python(struct _cffi_externpy_s *externpy)
# elif defined(_AIX)
# define read_barrier() __lwsync()
# elif defined(__SUNPRO_C) || defined(__SUNPRO_CC)
-# include <mbarrier.h>
+# error include <mbarrier.h>
# define read_barrier() __compiler_barrier()
# elif defined(__hpux)
# define read_barrier() _Asm_mf()
diff --git a/contrib/restricted/boost/boost/interprocess/detail/atomic.hpp b/contrib/restricted/boost/boost/interprocess/detail/atomic.hpp
index 60c4b982a44..32b6438e465 100644
--- a/contrib/restricted/boost/boost/interprocess/detail/atomic.hpp
+++ b/contrib/restricted/boost/boost/interprocess/detail/atomic.hpp
@@ -285,7 +285,7 @@ inline void atomic_write32(volatile boost::uint32_t *mem, boost::uint32_t val)
#elif (defined(sun) || defined(__sun))
-#include <atomic.h>
+#error include <atomic.h>
namespace boost{
namespace interprocess{