Commit c9638feb authored by cgohlke's avatar cgohlke

Define CYTHON_FORMAT_SSIZE_T for use in PyErr_Format and PyString_FromFormat

parent dfdfe69a
......@@ -244,6 +244,12 @@
#define __Pyx_DOCSTR(n) (n)
#endif
#if defined(_WIN64) && defined(_MSC_VER)
#define CYTHON_FORMAT_SSIZE_T "z"
#else
#define CYTHON_FORMAT_SSIZE_T PY_FORMAT_SIZE_T
#endif
/////////////// ForceInitThreads.proto ///////////////
#ifndef __PYX_FORCE_INIT_THREADS
......
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