git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15059
d0543943-73ff-0310-b7d9-
9358b9ac24b2
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,
#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
);
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