Skip to content

Commit

Permalink
fix: define PYBIND11_CPP14 for recent intel compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasleibner committed Nov 19, 2020
1 parent 17c22b9 commit 930e2d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/detail/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# endif
#endif

#if !(defined(_MSC_VER) && __cplusplus == 199711L) && !defined(__INTEL_COMPILER)
#if !(defined(_MSC_VER) && __cplusplus == 199711L) || (defined(__INTEL_COMPILER) && __INTEL_COMPILER >= 1900)
# if __cplusplus >= 201402L
# define PYBIND11_CPP14
# if __cplusplus >= 201703L
Expand Down

0 comments on commit 930e2d9

Please sign in to comment.