Skip to content

Commit d86d630

Browse files
committed
Define 'PyPy_VERSION' to avoid compilation issues.
1 parent 198f704 commit d86d630

File tree

1 file changed

+2
-0
lines changed
  • graalpython/com.oracle.graal.python.cext/include

1 file changed

+2
-0
lines changed

graalpython/com.oracle.graal.python.cext/include/Python.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
#define HAVE_FCNTL_H
4646
#define HAVE_SYS_WAIT_H
4747

48+
#define PYPY_VERSION 0
49+
4850
#include <truffle.h>
4951
#include <polyglot.h>
5052
#include <stdio.h>

0 commit comments

Comments
 (0)