-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
gcc -fPIC -DPy_BUILD_CORE -o Modules/python.o ../Modules/python.c
In file included from ../Include/Python.h:58:0,
from ../Modules/python.c:3:
../Include/pyport.h:256:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"
# error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"
This is caused only on 2.7.13
The offending stanza in pyport.h is :
#ifdef HAVE_LONG_LONG
# ifndef PY_FORMAT_LONG_LONG
# if defined(MS_WIN64) || defined(MS_WINDOWS)
# define PY_FORMAT_LONG_LONG "I64"
# else
# error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"
# endif
# endif
#endif