Skip to content

Commit

Permalink
Fix py 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Feb 19, 2024
1 parent eaa6e4a commit 6ccc25d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/php/core.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@

#include "stubs/phpy_core_arginfo.h"

#if PY_VERSION_HEX < 0x03080000
#define PyConfig _PyCoreConfig
#else

static zend_class_entry *PyCore_ce;
static PyObject *module_builtins = nullptr;
static PyObject *module_phpy = nullptr;
Expand Down

0 comments on commit 6ccc25d

Please sign in to comment.