Martin Panter added the comment: Yes it makes more sense to me to move the file to a common directory. That should avoid any potential conflict with pyconfig.h. What did you mean by a platform-specific filename?
Here is a patch to move the file. I have not tested regenerating it however, so it would be good to get some feedback on that. I don’t have a Windows etc setup to check if I have broken anything. ---------- components: +Windows -Cross-Build nosy: +martin.panter, paul.moore, steve.dower, tim.golden, zach.ware stage: -> patch review title: mingw: add $srcdir/PC to CPPFLAGS -> mingw: Allow Objects/exceptions.c to include "errmap.h" Added file: http://bugs.python.org/file42113/move-errmap.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17597> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com