]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/regex/example/snippets/regex_grep_example_4.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / regex / example / snippets / regex_grep_example_4.cpp
index 533d896ee1b338b8901e3011ffb92b012ba924fa..e50383b39829c4ef0f5c3c522f96317c61aaaea5 100644 (file)
@@ -17,7 +17,7 @@
   *                using a C++ Builder closure as a callback.
   */
 
-#ifdef __BORLANDC__
+#if defined(__BORLANDC__) && !defined(__clang__)
 
 #include <boost/regex.hpp>
 #include <string>
@@ -140,7 +140,7 @@ int main(int argc, const char** argv)
    return 0;
 }
 
-#else  // __BORLANDC__
+#else  // __BORLANDC__ && !defined(__clang__)
 
 int main()
 {