[asterisk-commits] rizzo: trunk r93380 - /trunk/channels/chan_oss.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 17 16:38:49 CST 2007


Author: rizzo
Date: Mon Dec 17 16:38:48 2007
New Revision: 93380

URL: http://svn.digium.com/view/asterisk?view=rev&rev=93380
Log:
surprising as it may be, chan_oss compiles correctly under cygwin as well,
provided you look for soundcard.h in the right place...


Modified:
    trunk/channels/chan_oss.c

Modified: trunk/channels/chan_oss.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_oss.c?view=diff&rev=93380&r1=93379&r2=93380
==============================================================================
--- trunk/channels/chan_oss.c (original)
+++ trunk/channels/chan_oss.c Mon Dec 17 16:38:48 2007
@@ -35,7 +35,6 @@
 
 /*** MODULEINFO
 	<depend>ossaudio</depend>
-	<conflict>winarch</conflict>
  ***/
 
 #include "asterisk.h"
@@ -48,7 +47,7 @@
 
 #ifdef __linux
 #include <linux/soundcard.h>
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__CYGWIN__)
 #include <sys/soundcard.h>
 #else
 #include <soundcard.h>




More information about the asterisk-commits mailing list