Skip to content

Commit

Permalink
Revert "Redefine _Py_stat_struct if Python 3.11 or later"
Browse files Browse the repository at this point in the history
This reverts commit d8183db.
  • Loading branch information
cielavenir committed Aug 28, 2023
1 parent 8fff475 commit 8f8d68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _scandir.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ comment):

// _Py_stat_struct is already defined in fileutils.h on Python 3.5+
// But not in PyPy
#if PY_MAJOR_VERSION < 3 || (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION < 5) || (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 11) || defined(PYPY_VERSION_NUM)
#if PY_MAJOR_VERSION < 3 || (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION < 5) || defined(PYPY_VERSION_NUM)
#ifdef MS_WINDOWS
struct _Py_stat_struct {
unsigned long st_dev;
Expand Down

0 comments on commit 8f8d68c

Please sign in to comment.