[Patches] [ python-Patches-1527744 ] winsound - probably win9x port is not working

SourceForge.net noreply at sourceforge.net
Mon Jul 24 14:54:08 CEST 2006


Patches item #1527744, was opened at 2006-07-24 21:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1527744&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Windows
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Hirokazu Yamamoto (ocean-city)
Assigned to: Nobody/Anonymous (nobody)
Summary: winsound - probably win9x port is not working

Initial Comment:
Hello. I found this bug while building trunk with VC6.

In current PC/winsound.c,

 #include <windows.h>
 #include <mmsystem.h>
 #ifdef HAVE_CONIO_H
 #include <conio.h>	/* port functions on Win9x */
 #endif
 #include <Python.h>

but HAVE_CONIO_H is defined in pyconfig.h, so Python.h
should be included before. Otherwise _outp() and _inp()
are always unresolved.

I hope attached patch will fix this problem.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1527744&group_id=5470


More information about the Patches mailing list