summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2003-02-13 13:27:07 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2003-02-13 13:27:07 (GMT)
commitfe62bc917d1ab51fc591839b3c65589b268cad31 (patch)
treec2287cb944d457b89d09a1a5442f871f28f3c7bb /Modules
parent289587ea1d3f30c4babcfd5643c9ba9b49539612 (diff)
downloadcpython-fe62bc917d1ab51fc591839b3c65589b268cad31.zip
cpython-fe62bc917d1ab51fc591839b3c65589b268cad31.tar.gz
cpython-fe62bc917d1ab51fc591839b3c65589b268cad31.tar.bz2
Conditionalize another constant
Diffstat (limited to 'Modules')
-rw-r--r--Modules/ossaudiodev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/ossaudiodev.c b/Modules/ossaudiodev.c
index 727f5a6..87a98e1 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