Add header check for atomic_ops.h
authorAdeel <adeelbm@outlook.com>
Tue, 21 May 2019 01:58:07 +0000 (01:58 +0000)
committerAdeel <adeelbm@outlook.com>
Tue, 21 May 2019 01:58:07 +0000 (01:58 +0000)
src/pal/src/libunwind/src/config.h.in
src/pal/src/libunwind/src/configure.cmake

index 5e3421b..1bc7c93 100644 (file)
@@ -13,4 +13,6 @@
 #cmakedefine HAVE__BUILTIN_UNREACHABLE
 #cmakedefine HAVE_SYNC_ATOMICS
 
+#cmakedefine HAVE_ATOMIC_OPS_H
+
 #endif
index 3e45405..a6d37b5 100644 (file)
@@ -10,6 +10,8 @@ check_include_files(sys/endian.h HAVE_SYS_ENDIAN_H)
 check_include_files(link.h HAVE_LINK_H)
 check_include_files(sys/link.h HAVE_SYS_LINK_H)
 
+check_include_files(atomic_ops.h HAVE_ATOMIC_OPS_H)
+
 check_cxx_source_compiles("
 int main(int argc, char **argv)
 {