Skip to content

Commit db65932

Browse files
committed
add GRAALVM_PYTHON define to detect building on graalpython
1 parent d6910bc commit db65932

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
#define HAVE_FCNTL_H
4848
#define HAVE_SYS_WAIT_H
4949

50+
#define GRAALVM_PYTHON 1
5051
#define PYPY_VERSION 0
5152
#define PYPY_VERSION_NUM 0x07030000
5253

0 commit comments

Comments
 (0)