summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-04-20 11:09:01 (GMT)
committerGitHub <noreply@github.com>2022-04-20 11:09:01 (GMT)
commit56c2d0809703eda9d2f4ab5600c054b73a5a2460 (patch)
tree525dc55f7c59ee6ae8b3b9b2a845ddc9dedf8941 /Modules
parent33c6feb811326e6f6d3487ed88df8dc66c552edc (diff)
downloadcpython-56c2d0809703eda9d2f4ab5600c054b73a5a2460.zip
cpython-56c2d0809703eda9d2f4ab5600c054b73a5a2460.tar.gz
cpython-56c2d0809703eda9d2f4ab5600c054b73a5a2460.tar.bz2
gh-91734: Fix ossaudio support on Solaris (GH-91735)
(cherry picked from commit 4420faf273e9e2d03226a9375e1e04a336230c84) Co-authored-by: Jakub KulĂ­k <Kulikjak@gmail.com>
Diffstat (limited to 'Modules')
-rw-r--r--Modules/ossaudiodev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/ossaudiodev.c b/Modules/ossaudiodev.c
index 2a1ac10..fb57764 100644
--- a/Modules/ossaudiodev.c
+++ b/Modules/ossaudiodev.c
@@ -1243,8 +1243,12 @@ PyInit_ossaudiodev(void)
_EXPORT_INT(m, SNDCTL_DSP_GETSPDIF);
#endif
_EXPORT_INT(m, SNDCTL_DSP_GETTRIGGER);
+#ifdef SNDCTL_DSP_MAPINBUF
_EXPORT_INT(m, SNDCTL_DSP_MAPINBUF);
+#endif
+#ifdef SNDCTL_DSP_MAPOUTBUF
_EXPORT_INT(m, SNDCTL_DSP_MAPOUTBUF);
+#endif
_EXPORT_INT(m, SNDCTL_DSP_NONBLOCK);
_EXPORT_INT(m, SNDCTL_DSP_POST);
#ifdef SNDCTL_DSP_PROFILE