Commit f7e9df29 authored by Christoph Gohlke's avatar Christoph Gohlke Committed by Stefan Behnel

Fix compatibility with msvc < 1400

Visual Studio .NET 2003, used by Python 2.5 32 bit, does not support the '__restrict' keyword.
parent b0a4fa4a
......@@ -279,7 +279,7 @@
#ifndef CYTHON_RESTRICT
#if defined(__GNUC__)
#define CYTHON_RESTRICT __restrict__
#elif defined(_MSC_VER)
#elif defined(_MSC_VER) && _MSC_VER >= 1400
#define CYTHON_RESTRICT __restrict
#elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#define CYTHON_RESTRICT restrict
......
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