This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 martin.panter
收信人 BreamoreBoy, martin.panter, rpetrov
日期 2016-07-27.06:16:31
SpamBayes Score -1.0
Marked as misclassified
Message-id <1469600192.12.0.219133790162.issue17594@psf.upfronthosting.co.za>
In-reply-to
内容
Interesting approach. Why two separate files, for cross-compiling and native compiling? Why not merge them together?

Some of the other Min GW patches add stuff like the following to the configure.ac checks. Would it make more sense to add e.g. ac_cv_struct_addrinfo=yes to the config, and avoid the compile check?

 AC_CACHE_VAL(ac_cv_struct_addrinfo,
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <netdb.h>]], [[struct addrinfo a]])],
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+#ifdef HAVE_WS2TCPIP_H
+#  include <ws2tcpip.h>
+#else
+#  include <netdb.h>
+#endif]],
+    [[struct addrinfo a]])],
   [ac_cv_struct_addrinfo=yes],
   [ac_cv_struct_addrinfo=no]))
历史
日期 用户 动作 参数
2016-07-27 06:16:32martin.panter修改recipients: + martin.panter, rpetrov, BreamoreBoy
2016-07-27 06:16:32martin.panter修改messageid: <1469600192.12.0.219133790162.issue17594@psf.upfronthosting.co.za>
2016-07-27 06:16:32martin.panter链接issue17594 messages
2016-07-27 06:16:31martin.panter创建