diff options
author | INADA Naoki <methane@users.noreply.github.com> | 2017-06-29 15:31:38 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-29 15:31:38 +0900 |
commit | 6b42eb17649bed9615b6e6cecaefdb2f46990b2c (patch) | |
tree | da7ca04b814551d5834b84281020d8fd49015035 /pyconfig.h.in | |
parent | bpo-30726: Also fix pyexpat.vcxproj (#2375) (diff) | |
download | cpython-6b42eb17649bed9615b6e6cecaefdb2f46990b2c.tar.gz cpython-6b42eb17649bed9615b6e6cecaefdb2f46990b2c.tar.bz2 cpython-6b42eb17649bed9615b6e6cecaefdb2f46990b2c.zip |
bpo-29585: Fix sysconfig.get_config_var("PYTHONFRAMEWORK") (GH-2483)
`PYTHONFRAMEWORK` is defined in `Makefile` and it shoulnd't be used
in `pyconfig.h`.
`sysconfig.py --generate-posix-vars` reads config vars from Makefile
and `pyconfig.h`. Conflicting variables should be avoided.
Especially, string config variables in Makefile are unquoted, but
in `pyconfig.h` are keep quoted. So it should be private (starts with
underscore).
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index f7c50eadcaf..b4d1f1b5038 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -1247,9 +1247,6 @@ /* Define as the preferred size in bits of long digits */ #undef PYLONG_BITS_IN_DIGIT -/* framework name */ -#undef PYTHONFRAMEWORK - /* Define if you want to coerce the C locale to a UTF-8 based locale */ #undef PY_COERCE_C_LOCALE @@ -1464,6 +1461,9 @@ /* Define if you have POSIX threads, and your system does not define that. */ #undef _POSIX_THREADS +/* framework name */ +#undef _PYTHONFRAMEWORK + /* Define to force use of thread-safe errno, h_errno, and other functions */ #undef _REENTRANT |