Skip to content

Commit cc0804b

Browse files
EthanSteinbergrwgk
authored andcommitted
Typos
1 parent e5726aa commit cc0804b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/pybind11/detail/common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
// You should never need to push and pop manually as these are done in namespace begin and end
2121
#if defined(_MSC_VER)
22-
# define PYBIND11_COMPILER_MSCV
22+
# define PYBIND11_COMPILER_MSVC
2323
# define PYBIND11_PRAGMA(...) __pragma(__VA_ARGS__)
2424
# define PYBIND11_WARNING_PUSH PYBIND11_PRAGMA(warning(push))
2525
# define PYBIND11_WARNING_POP PYBIND11_PRAGMA(warning(pop))
@@ -45,7 +45,7 @@
4545
# define PYBIND11_WARNING_POP PYBIND11_PRAGMA(GCC diagnostic pop)
4646
#endif
4747

48-
#ifdef PYBIND11_COMPILER_MSCV
48+
#ifdef PYBIND11_COMPILER_MSVC
4949
# define PYBIND11_DISABLE_WARNING_MSVC(name) PYBIND11_PRAGMA(warning(disable : name))
5050
#else
5151
# define PYBIND11_DISABLE_WARNING_MSVC(name)

0 commit comments

Comments
 (0)