From: Brian West Date: Tue, 18 Mar 2014 22:37:04 +0000 (-0500) Subject: FS-6375 exclude sun from modem support in spandsp X-Git-Tag: v1.5.12~424 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aeebd712f8cfc521d86ff1f82d5755b7926ebe70;p=thirdparty%2Ffreeswitch.git FS-6375 exclude sun from modem support in spandsp --- diff --git a/src/mod/applications/mod_spandsp/mod_spandsp_modem.h b/src/mod/applications/mod_spandsp/mod_spandsp_modem.h index 80efefd8b7..08a2514d97 100644 --- a/src/mod/applications/mod_spandsp/mod_spandsp_modem.h +++ b/src/mod/applications/mod_spandsp/mod_spandsp_modem.h @@ -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