New submission from Christian Heimes:

The pyconfig.h file of the Windows build environment defines at least two 
macros without a Py/PY prefix:

PC/pyconfig.h:#define PREFIX ""
PC/pyconfig.h:#define EXEC_PREFIX ""

This has caused multiple issues in the past. For example libexpat uses PREFIX, 
too. When I was working on my XML patches it took me about half an hour to fix 
the build on Windows. PyLucence's JCC has run into the same issue, too. 
http://mail-archives.apache.org/mod_mbox/lucene-pylucene-dev/201304.mbox/browser

Can we change the name of PREFIX to PY_PREFIX nad EXEC_PREFIX to PY_EXEC_PREFIX?

----------
components: Build, Windows
messages: 187284
nosy: christian.heimes, loewis
priority: normal
severity: normal
stage: needs patch
status: open
title: PC/pyconfig.h defines PREFIX macro
type: compile error
versions: Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17791>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to