mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
initwinsound(): this no longer compiled on Windows,
because code snuck in between auto declarations.
This commit is contained in:
parent
2188bf03bc
commit
773feaf529
1 changed files with 2 additions and 1 deletions
|
|
@ -217,12 +217,13 @@ initwinsound(void)
|
|||
{
|
||||
OSVERSIONINFO version;
|
||||
|
||||
PyObject *dict;
|
||||
PyObject *module = Py_InitModule3("winsound",
|
||||
sound_methods,
|
||||
sound_module_doc);
|
||||
if (module == NULL)
|
||||
return;
|
||||
PyObject *dict = PyModule_GetDict(module);
|
||||
dict = PyModule_GetDict(module);
|
||||
|
||||
ADD_DEFINE(SND_ASYNC);
|
||||
ADD_DEFINE(SND_NODEFAULT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue