Commit 517a2774 authored by Robert Bradshaw's avatar Robert Bradshaw

Merge pull request #225 from cgohlke/patch-1

Fix compatibility with msvc < 1400
parents f6b07dae 42ca727c
......@@ -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