From b8d304a453c476c717c3fdd26d4c5bc78172c5a5 Mon Sep 17 00:00:00 2001 From: Janis Born Date: Wed, 25 Nov 2015 14:52:40 +0100 Subject: [PATCH] use correct ifdefs for VS2015 --- src/Python/Vector.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)