From 025333a26b581be91407d50420fd4b875ee449e5 Mon Sep 17 00:00:00 2001
From: Michael Jerris <mike@jerris.com>
Date: Sat, 8 Mar 2008 04:16:22 +0000
Subject: [PATCH] ifdef for windows build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7842 d0543943-73ff-0310-b7d9-9358b9ac24b2
---
 src/switch_console.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/switch_console.c b/src/switch_console.c
index 91f889b5d7..984279b09f 100644
--- a/src/switch_console.c
+++ b/src/switch_console.c
@@ -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)
 {