From: Neal Norwitz Date: Fri, 10 Jan 2003 21:27:54 +0000 (+0000) Subject: Get build working on Redhat 7.2 linux 2.4.7 X-Git-Tag: v2.3c1~2479 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=faa7b9bb4ca19f4cf07b1faacbe794af893a3e2d;p=python Get build working on Redhat 7.2 linux 2.4.7 --- diff --git a/Modules/ossaudiodev.c b/Modules/ossaudiodev.c index 9bfd55e78c..ccc7882f42 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);