]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/test/utils/basic_cstring/basic_cstring.hpp
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / boost / test / utils / basic_cstring / basic_cstring.hpp
index fdd87d52119fea1db34d91aa24b6111778bef8c8..cec0214b7367087b50d33347ad2b5c5c46d5093d 100644 (file)
@@ -60,8 +60,8 @@ public:
 
     // !! should also present reverse_iterator, const_reverse_iterator
 
-#if !BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(600))
-    enum npos_type { npos = static_cast<size_type>(-1) };
+#if !BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(600)) && !defined(__DCC__)
+    BOOST_STATIC_CONSTANT(size_type, npos = static_cast<size_type>(-1));
 #else
     // IBM/VisualAge version 6 is not able to handle enums larger than 4 bytes.
     // But size_type is 8 bytes in 64bit mode.