提交 6c70e2fd authored 作者: Michael Jerris's avatar Michael Jerris

fix solaris build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15059 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 221459a7
...@@ -76,7 +76,7 @@ enum ...@@ -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 @@ ...@@ -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" ...@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论