[Freeswitch-svn] [commit] r13361 - freeswitch/trunk/src

FreeSWITCH SVN mikej at freeswitch.org
Fri May 15 11:10:59 PDT 2009


Author: mikej
Date: Fri May 15 13:10:59 2009
New Revision: 13361

Log:
ensure vasprintf is available on linux (FSBUILD-160)

Modified:
   freeswitch/trunk/src/switch_apr.c

Modified: freeswitch/trunk/src/switch_apr.c
==============================================================================
--- freeswitch/trunk/src/switch_apr.c	(original)
+++ freeswitch/trunk/src/switch_apr.c	Fri May 15 13:10:59 2009
@@ -31,8 +31,10 @@
  */
 
 #ifdef __linux__
+#ifndef _GNU_SOURCE
 #define _GNU_SOURCE
 #endif
+#endif
 
 #include <switch.h>
 #ifndef WIN32



More information about the Freeswitch-svn mailing list