From: Michal Bielicki Date: Mon, 5 Jan 2009 15:23:06 +0000 (+0000) Subject: vasprintf does not exist in solaris, so adding another ifndef X-Git-Tag: v1.0.3~820 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e18156535b2848ce6be2d01c58ca58df288f2955;p=thirdparty%2Ffreeswitch.git vasprintf does not exist in solaris, so adding another ifndef git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11068 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/libs/esl/src/esl_event.c b/libs/esl/src/esl_event.c index 128d79aec5..cb3af9c97b 100644 --- a/libs/esl/src/esl_event.c +++ b/libs/esl/src/esl_event.c @@ -315,7 +315,7 @@ int vasprintf(char **ret, const char *format, va_list ap); 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;