FS-6375 exclude sun from modem support in spandsp

This commit is contained in:
Brian West 2014-03-18 17:37:04 -05:00
parent b4ba7e1e2a
commit aeebd712f8
1 changed files with 2 additions and 1 deletions

View 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