Commit fd6ed9d0 authored by Stefan Behnel's avatar Stefan Behnel

enable dead "atomics" memoryview code for MSVC (untested)

parent 4d538fb5
...@@ -33,7 +33,7 @@ typedef struct { ...@@ -33,7 +33,7 @@ typedef struct {
#ifdef __PYX_DEBUG_ATOMICS #ifdef __PYX_DEBUG_ATOMICS
#warning "Using GNU atomics" #warning "Using GNU atomics"
#endif #endif
#elif CYTHON_ATOMICS && MSC_VER #elif CYTHON_ATOMICS && defined(_MSC_VER)
/* msvc */ /* msvc */
#include <Windows.h> #include <Windows.h>
#define __pyx_atomic_int_type LONG #define __pyx_atomic_int_type LONG
......
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