Commit 41d65a72 authored by Max Bachmann's avatar Max Bachmann Committed by Stefan Behnel

Enable usage of std::move() only in the supported versions of MSVC (GH-4191)

parent 5e8d38e8
......@@ -16,7 +16,8 @@ cdef extern from "<utility>" namespace "std" nogil:
cdef extern from * namespace "cython_std" nogil:
"""
#if __cplusplus > 199711L
#if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1600)
// move should be defined for these versions of MSVC, but __cplusplus isn't set usefully
#include <type_traits>
namespace cython_std {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment