Skip to content

Commit 930e2d9

Browse files
committed
fix: define PYBIND11_CPP14 for recent intel compilers
1 parent 17c22b9 commit 930e2d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/detail/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# endif
2828
#endif
2929

30-
#if !(defined(_MSC_VER) && __cplusplus == 199711L) && !defined(__INTEL_COMPILER)
30+
#if !(defined(_MSC_VER) && __cplusplus == 199711L) || (defined(__INTEL_COMPILER) && __INTEL_COMPILER >= 1900)
3131
# if __cplusplus >= 201402L
3232
# define PYBIND11_CPP14
3333
# if __cplusplus >= 201703L

0 commit comments

Comments
 (0)