]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/thread/test/test_12293.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / thread / test / test_12293.cpp
index fd938812507a0534c3289d618e0899a794386e22..0b305edc6dfc04d4b5c4a61f9170c9a38b520784 100644 (file)
@@ -20,6 +20,8 @@
 
 int main()
 {
+#if __cplusplus >= 201103L
+
     int value = 0;
     int tmpValue = 0;
     boost::promise<void> promise1;
@@ -56,6 +58,7 @@ int main()
     waitFuture.wait();
 
     std::cout << "value = " << value << std::endl; // should print 1 but prints 0
+#endif
     return 0;
 }