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

Freeswitch SVN mikej at freeswitch.org
Fri Mar 7 23:16:22 EST 2008


Author: mikej
Date: Fri Mar  7 23:16:22 2008
New Revision: 7842

Modified:
   freeswitch/trunk/src/switch_console.c

Log:
ifdef for windows build

Modified: freeswitch/trunk/src/switch_console.c
==============================================================================
--- freeswitch/trunk/src/switch_console.c	(original)
+++ freeswitch/trunk/src/switch_console.c	Fri Mar  7 23:16:22 2008
@@ -35,6 +35,7 @@
 #include <switch_version.h>
 #define CMD_BUFLEN 1024;
 
+#ifdef SWITCH_HAVE_LIBEDIT
 /*
  * store a strdup() of the string configured in XML
  * bound to each of the 12 function key
@@ -82,7 +83,7 @@
 
 	return SWITCH_STATUS_SUCCESS;
 }
-
+#endif
 
 SWITCH_DECLARE_NONSTD(switch_status_t) switch_console_stream_raw_write(switch_stream_handle_t *handle, uint8_t *data, switch_size_t datalen)
 {



More information about the Freeswitch-svn mailing list