mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-20 14:59:27 +00:00
chore: rename macro PYBIND11_SUBINTERPRETER_SUPPORT -> PYBIND11_HAS_SUBINTERPRETER_SUPPORT to meet naming convention (#5682)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include <pybind11/embed.h>
|
||||
#ifdef PYBIND11_SUBINTERPRETER_SUPPORT
|
||||
#ifdef PYBIND11_HAS_SUBINTERPRETER_SUPPORT
|
||||
# include <pybind11/subinterpreter.h>
|
||||
|
||||
// Silence MSVC C++17 deprecation warning from Catch regarding std::uncaught_exceptions (up to
|
||||
@@ -428,4 +428,4 @@ TEST_CASE("Per-Subinterpreter GIL") {
|
||||
}
|
||||
# endif // Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
|
||||
|
||||
#endif // PYBIND11_SUBINTERPRETER_SUPPORT
|
||||
#endif // PYBIND11_HAS_SUBINTERPRETER_SUPPORT
|
||||
|
||||
Reference in New Issue
Block a user