mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-24 11:48:48 +00:00
fix solaris build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15059 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
221459a78c
commit
6c70e2fd8b
@ -76,7 +76,7 @@ enum
|
|||||||
static at_profile_t profiles[3] =
|
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,
|
/*.echo =*/ TRUE,
|
||||||
/*.verbose =*/ TRUE,
|
/*.verbose =*/ TRUE,
|
||||||
/*.result_code_format =*/ ASCII_RESULT_CODES,
|
/*.result_code_format =*/ ASCII_RESULT_CODES,
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#if defined(__sunos) || defined(__solaris)
|
#if defined(__sunos) || defined(__solaris) || defined(__sun)
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -150,7 +150,7 @@ extern "C"
|
|||||||
);
|
);
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
#elif defined(__GNUC__)
|
#elif defined(__GNUC__) || (__SUNPRO_C >= 0x0590)
|
||||||
|
|
||||||
#if defined(__i386__)
|
#if defined(__i386__)
|
||||||
/* These routines are guaranteed fast on an i386 machine. Using the built in
|
/* These routines are guaranteed fast on an i386 machine. Using the built in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user