From 797d7c57018909ecc523680173fa5d699de889f6 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 13 Nov 2007 20:06:22 +0000 Subject: [PATCH] fix sun studio build git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6241 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/libteletone/src/libteletone_generate.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libs/libteletone/src/libteletone_generate.h b/libs/libteletone/src/libteletone_generate.h index 83fd3f00ef..addd1ebea9 100644 --- a/libs/libteletone/src/libteletone_generate.h +++ b/libs/libteletone/src/libteletone_generate.h @@ -79,10 +79,18 @@ extern "C" { #include #include + +#if defined(__SUNPRO_C) || defined(__SUNPRO_CC) +#ifndef __inline__ +#define __inline__ inline +#endif +#endif + #ifdef _MSC_VER #ifndef __inline__ #define __inline__ __inline #endif + typedef unsigned __int64 uint64_t; typedef unsigned __int32 uint32_t; typedef unsigned __int16 uint16_t;