[Freeswitch-svn] [commit] r11068 - freeswitch/trunk/libs/esl/src

FreeSWITCH SVN cypromis at freeswitch.org
Mon Jan 5 07:23:07 PST 2009


Author: cypromis
Date: Mon Jan  5 10:23:06 2009
New Revision: 11068

Log:
vasprintf does not exist in solaris, so adding another ifndef


Modified:
   freeswitch/trunk/libs/esl/src/esl_event.c

Modified: freeswitch/trunk/libs/esl/src/esl_event.c
==============================================================================
--- freeswitch/trunk/libs/esl/src/esl_event.c	(original)
+++ freeswitch/trunk/libs/esl/src/esl_event.c	Mon Jan  5 10:23:06 2009
@@ -315,7 +315,7 @@
 
 static int esl_vasprintf(char **ret, const char *fmt, va_list ap)
 {
-#ifndef WIN32
+#if !defined(WIN32) && !defined(__sun)
 	return vasprintf(ret, fmt, ap);
 #else
 	char *buf;



More information about the Freeswitch-svn mailing list