Diff
Modified: freeswitch/trunk/libs/spandsp/src/at_interpreter.c (15058 => 15059)
--- freeswitch/trunk/libs/spandsp/src/at_interpreter.c 2009-10-03 00:17:06 UTC (rev 15058)
+++ freeswitch/trunk/libs/spandsp/src/at_interpreter.c 2009-10-03 00:56:46 UTC (rev 15059)
@@ -76,7 +76,7 @@
static at_profile_t profiles[3] =
{
{
-#if defined(_MSC_VER) || defined(__sunos) || defined(__solaris)
+#if defined(_MSC_VER) || defined(__sunos) || defined(__solaris) || defined(__sun)
/*.echo =*/ TRUE,
/*.verbose =*/ TRUE,
/*.result_code_format =*/ ASCII_RESULT_CODES,
Modified: freeswitch/trunk/libs/spandsp/src/make_modem_filter.c (15058 => 15059)
--- freeswitch/trunk/libs/spandsp/src/make_modem_filter.c 2009-10-03 00:17:06 UTC (rev 15058)
+++ freeswitch/trunk/libs/spandsp/src/make_modem_filter.c 2009-10-03 00:56:46 UTC (rev 15059)
@@ -44,7 +44,7 @@
#include <stdio.h>
#include <time.h>
#include <fcntl.h>
-#if defined(__sunos) || defined(__solaris)
+#if defined(__sunos) || defined(__solaris) || defined(__sun)
#include <getopt.h>
#endif
Modified: freeswitch/trunk/libs/spandsp/src/spandsp/fast_convert.h (15058 => 15059)
--- freeswitch/trunk/libs/spandsp/src/spandsp/fast_convert.h 2009-10-03 00:17:06 UTC (rev 15058)
+++ freeswitch/trunk/libs/spandsp/src/spandsp/fast_convert.h 2009-10-03 00:56:46 UTC (rev 15059)
@@ -150,7 +150,7 @@
);
return retval;
}
-#elif defined(__GNUC__)
+#elif defined(__GNUC__) || (__SUNPRO_C >= 0x0590)
#if defined(__i386__)
/* These routines are guaranteed fast on an i386 machine. Using the built in