8000 Define Py_DTSF_ADD_DOT_0 to fix older PyPy. · matplotlib/matplotlib@7a5b9eb · GitHub
[go: up one dir, main page]

Skip to content

Commit 7a5b9eb

Browse files
committed
Define Py_DTSF_ADD_DOT_0 to fix older PyPy.
< 8000 svg aria-hidden="true" focusable="false" class="octicon octicon-git-branch Octicon-sc-9kayk9-0 mr-1" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom">
1 parent 70f8858 commit 7a5b9eb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/_path.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
#include "_backend_agg_basic_types.h"
2222
#include "numpy_cpp.h"
2323

24+
/* Compatibility for PyPy3.7 before 7.3.4. */
25+
#ifndef Py_DTSF_ADD_DOT_0
26+
#define Py_DTSF_ADD_DOT_0 0x2
27+
#endif
28+
2429
struct XY
2530
{
2631
double x;

0 commit comments

Comments
 (0)
0