Skip to content

Commit

Permalink
Fix Python 3.10+ issues from PY_SSIZE_T_CLEAN not being set
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr committed Apr 6, 2022
1 parent e78c225 commit 22ea5dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bindings/python/src/PyXRootD.hh
Expand Up @@ -25,6 +25,7 @@
#ifndef PYXROOTD_HH_
#define PYXROOTD_HH_

#define PY_SSIZE_T_CLEAN
#include <Python.h>
#include <string>
#include "structmember.h"
Expand Down

0 comments on commit 22ea5dc

Please sign in to comment.