[Freeswitch-svn] [commit] r6241 - freeswitch/trunk/libs/libteletone/src

Freeswitch SVN mikej at freeswitch.org
Tue Nov 13 15:06:23 EST 2007


Author: mikej
Date: Tue Nov 13 15:06:22 2007
New Revision: 6241

Modified:
   freeswitch/trunk/libs/libteletone/src/libteletone_generate.h

Log:
fix sun studio build

Modified: freeswitch/trunk/libs/libteletone/src/libteletone_generate.h
==============================================================================
--- freeswitch/trunk/libs/libteletone/src/libteletone_generate.h	(original)
+++ freeswitch/trunk/libs/libteletone/src/libteletone_generate.h	Tue Nov 13 15:06:22 2007
@@ -79,10 +79,18 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+
+#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;



More information about the Freeswitch-svn mailing list