From: Andrew M. Kuchling Date: Thu, 13 Feb 2003 13:27:07 +0000 (+0000) Subject: Conditionalize another constant X-Git-Tag: v2.3c1~1869 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe62bc917d1ab51fc591839b3c65589b268cad31;p=python Conditionalize another constant --- diff --git a/Modules/ossaudiodev.c b/Modules/ossaudiodev.c index 727f5a6213..87a98e187c 100644 --- a/Modules/ossaudiodev.c +++ b/Modules/ossaudiodev.c @@ -964,7 +964,9 @@ initossaudiodev(void) _EXPORT_INT(m, AFMT_U16_LE); _EXPORT_INT(m, AFMT_U16_BE); _EXPORT_INT(m, AFMT_MPEG); +#ifdef AFMT_AC3 _EXPORT_INT(m, AFMT_AC3); +#endif #ifdef AFMT_S16_NE _EXPORT_INT(m, AFMT_S16_NE); #endif