[undo] Fixed CLang incompatibility
[libcds.git] / test / unit / misc / cxx11_atomic_func.cpp
index a381b37e1b5d11629a3cddddbc563d7b40a0ed34..55e61ab62a48788d515ad2ef79d9a57073171a76 100644 (file)
 
 #include "cxx11_convert_memory_order.h"
 
-#if CDS_COMPILER == CDS_COMPILER_CLANG && !defined( _LIBCPP_VERSION )
-    // CLang (at least 3.6) without libc++ has no gcc-specific __atomic_is_lock_free function
-#   define EXPECT_ATOMIC_IS_LOCK_FREE( x )
-#else
-#   define EXPECT_ATOMIC_IS_LOCK_FREE( x ) EXPECT_TRUE( atomics::atomic_is_lock_free( &x ));
-#endif
-
+#define EXPECT_ATOMIC_IS_LOCK_FREE( x ) EXPECT_TRUE( atomics::atomic_is_lock_free( &x ));
 
 namespace misc {