Skip to content

Commit 7a5b9eb

Browse files
committed
Define Py_DTSF_ADD_DOT_0 to fix older PyPy.
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy