]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
ifdef for windows build
authorMichael Jerris <mike@jerris.com>
Sat, 8 Mar 2008 04:16:22 +0000 (04:16 +0000)
committerMichael Jerris <mike@jerris.com>
Sat, 8 Mar 2008 04:16:22 +0000 (04:16 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7842 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_console.c

index 91f889b5d771027d382e7363932d3e5745ffb9b4..984279b09f9c3c59b2ddaa15fa2570037bff3ebf 100644 (file)
@@ -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 @@ static switch_status_t console_xml_config(void)
 
        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)
 {