summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-01-10 21:27:54 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-01-10 21:27:54 (GMT)
commitfaa7b9bb4ca19f4cf07b1faacbe794af893a3e2d (patch)
tree44e25859d8ed957a9cda0e34d1b8d360d91fbd0f /Modules
parenta7b804f28a5274cf2c7675b799eb3f810127dd44 (diff)
downloadcpython-faa7b9bb4ca19f4cf07b1faacbe794af893a3e2d.zip
cpython-faa7b9bb4ca19f4cf07b1faacbe794af893a3e2d.tar.gz
cpython-faa7b9bb4ca19f4cf07b1faacbe794af893a3e2d.tar.bz2
Get build working on Redhat 7.2 linux 2.4.7
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 9bfd55e..ccc7882 100644
--- a/Modules/ossaudiodev.c
+++ b/Modules/ossaudiodev.c
@@ -1016,7 +1016,9 @@ initossaudiodev(void)
_EXPORT_INT(m, SNDCTL_DSP_GETODELAY);
_EXPORT_INT(m, SNDCTL_DSP_GETOPTR);
_EXPORT_INT(m, SNDCTL_DSP_GETOSPACE);
+#ifdef SNDCTL_DSP_GETSPDIF
_EXPORT_INT(m, SNDCTL_DSP_GETSPDIF);
+#endif
_EXPORT_INT(m, SNDCTL_DSP_GETTRIGGER);
_EXPORT_INT(m, SNDCTL_DSP_MAPINBUF);
_EXPORT_INT(m, SNDCTL_DSP_MAPOUTBUF);
@@ -1028,7 +1030,9 @@ initossaudiodev(void)
_EXPORT_INT(m, SNDCTL_DSP_SETDUPLEX);
_EXPORT_INT(m, SNDCTL_DSP_SETFMT);
_EXPORT_INT(m, SNDCTL_DSP_SETFRAGMENT);
+#ifdef SNDCTL_DSP_SETSPDIF
_EXPORT_INT(m, SNDCTL_DSP_SETSPDIF);
+#endif
_EXPORT_INT(m, SNDCTL_DSP_SETSYNCRO);
_EXPORT_INT(m, SNDCTL_DSP_SETTRIGGER);
_EXPORT_INT(m, SNDCTL_DSP_SPEED);