fix solaris build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15059 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-10-03 00:56:46 +00:00
parent 221459a78c
commit 6c70e2fd8b
3 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ enum
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,

View File

@ -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

View File

@ -150,7 +150,7 @@ extern "C"
);
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