We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2fc97c commit 244dd73Copy full SHA for 244dd73
include/pybind11/detail/struct_smart_holder.h
@@ -64,7 +64,7 @@ High-level aspects:
64
// https://github.com/llvm/llvm-project/blob/a9b64bb3180dab6d28bf800a641f9a9ad54d2c0c/libcxx/include/typeinfo#L271-L276
65
// requiere it)
66
#if !defined(PYBIND11_EXPORT_GUARDED_DELETE)
67
-# if defined(__libcpp_version) && !defined(WIN32) && !defined(_WIN32)
+# if defined(_LIBCPP_VERSION) && !defined(WIN32) && !defined(_WIN32)
68
# define PYBIND11_EXPORT_GUARDED_DELETE __attribute__((visibility("default")))
69
# else
70
# define PYBIND11_EXPORT_GUARDED_DELETE
0 commit comments