* configure, config.in: Rebuild.
* configure.ac (HAVE_LIBPYTHON2_7): New define. * python/python-internal.h: Handle HAVE_LIBPYTHON2_7.
This commit is contained in:
parent
a6cc4789c3
commit
11763c1856
5 changed files with 20 additions and 2 deletions
|
@ -50,6 +50,9 @@ typedef int Py_ssize_t;
|
|||
#elif HAVE_LIBPYTHON2_6
|
||||
#include "python2.6/Python.h"
|
||||
#include "python2.6/frameobject.h"
|
||||
#elif HAVE_LIBPYTHON2_7
|
||||
#include "python2.7/Python.h"
|
||||
#include "python2.7/frameobject.h"
|
||||
#else
|
||||
#error "Unable to find usable Python.h"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue