]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6375 exclude sun from modem support in spandsp
authorBrian West <brian@freeswitch.org>
Tue, 18 Mar 2014 22:37:04 +0000 (17:37 -0500)
committerBrian West <brian@freeswitch.org>
Tue, 18 Mar 2014 22:37:04 +0000 (17:37 -0500)
src/mod/applications/mod_spandsp/mod_spandsp_modem.h

index 80efefd8b7a7206712867133db8fa8b3d7f930ab..08a2514d977746fc2c603872785fa4d75ee12460 100644 (file)
@@ -35,7 +35,8 @@
 #undef HAVE_STDLIB_H
 #include "switch_private.h"
 #endif
-#if  !defined(__OpenBSD__) && !defined(__DragonFly__) && (defined(HAVE_OPENPTY) || defined(HAVE_DEV_PTMX) || defined(HAVE_POSIX_OPENPT) || WIN32)
+#if  !defined(__sun__) && !defined(__OpenBSD__) && !defined(__DragonFly__) && \
+    (defined(HAVE_OPENPTY) || defined(HAVE_DEV_PTMX) || defined(HAVE_POSIX_OPENPT) || WIN32)
 #define MODEM_SUPPORT 1
 #if !defined(HAVE_POSIX_OPENPT) && !defined(HAVE_DEV_PTMX) && !defined(WIN32)
 #define USE_OPENPTY 1