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 e5726aa commit cc0804bCopy full SHA for cc0804b
include/pybind11/detail/common.h
@@ -19,7 +19,7 @@
19
20
// You should never need to push and pop manually as these are done in namespace begin and end
21
#if defined(_MSC_VER)
22
-# define PYBIND11_COMPILER_MSCV
+# define PYBIND11_COMPILER_MSVC
23
# define PYBIND11_PRAGMA(...) __pragma(__VA_ARGS__)
24
# define PYBIND11_WARNING_PUSH PYBIND11_PRAGMA(warning(push))
25
# define PYBIND11_WARNING_POP PYBIND11_PRAGMA(warning(pop))
@@ -45,7 +45,7 @@
45
# define PYBIND11_WARNING_POP PYBIND11_PRAGMA(GCC diagnostic pop)
46
#endif
47
48
-#ifdef PYBIND11_COMPILER_MSCV
+#ifdef PYBIND11_COMPILER_MSVC
49
# define PYBIND11_DISABLE_WARNING_MSVC(name) PYBIND11_PRAGMA(warning(disable : name))
50
#else
51
# define PYBIND11_DISABLE_WARNING_MSVC(name)
0 commit comments