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

SourceForge.net noreply at sourceforge.net
Mon Jul 24 15:46:58 CEST 2006


Patches item #1527744, was opened at 2006-07-24 12:54
Message generated for change (Comment added) made by gbrandl
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: Closed
>Resolution: Accepted
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.



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

>Comment By: Georg Brandl (gbrandl)
Date: 2006-07-24 13:46

Message:
Logged In: YES 
user_id=849994

Applied in rev. 50802.

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

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