diff --git a/src/Python/Vector.hh b/src/Python/Vector.hh index 227db9e2..d619e2be 100644 --- a/src/Python/Vector.hh +++ b/src/Python/Vector.hh @@ -148,7 +148,7 @@ void expose_vec(const char *_name) { .def("vectorize", &Vector::vectorize, return_internal_reference<>()) .def(self < self) -#if (__cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)) && !defined(OPENMESH_VECTOR_LEGACY) +#if (_MSC_VER >= 1900 || __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__)) && !defined(OPENMESH_VECTOR_LEGACY) .def("norm", &Vector::template norm) .def("length", &Vector::template length) .def("sqrnorm", &Vector::template sqrnorm)