--- cpp/src/ssl_options.cpp	2023-05-31 18:59:21.000000000 +0800
+++ cpp/src/ssl_options.cpp	2024-09-27 03:18:55.000000000 +0800
@@ -160,7 +160,7 @@
 //
 
 // Don't do this with libc++ or with Visual Studio
-#if !defined(_LIBCPP_VERSION) && !defined(_MSC_VER)
+#if !defined(_LIBCPP_VERSION) && !defined(_MSC_VER) && !defined(__APPLE__)
 
 //
 // These are a bit easier as the entire class has been removed so we can just define the class here
