[Python-checkins] python/dist/src/Modules ossaudiodev.c,1.20,1.21

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Fri, 10 Jan 2003 13:27:57 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv4605/Modules

Modified Files:
	ossaudiodev.c 
Log Message:
Get build working on Redhat 7.2 linux 2.4.7

Index: ossaudiodev.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/ossaudiodev.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** ossaudiodev.c	31 Dec 2002 03:23:59 -0000	1.20
--- ossaudiodev.c	10 Jan 2003 21:27:54 -0000	1.21
***************
*** 1017,1021 ****
--- 1017,1023 ----
      _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);
***************
*** 1029,1033 ****
--- 1031,1037 ----
      _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);