|
From: oharboe at B. <oh...@ma...> - 2009-05-03 22:48:21
|
Author: oharboe
Date: 2009-05-03 22:48:20 +0200 (Sun, 03 May 2009)
New Revision: 1598
Modified:
trunk/src/openocd.c
Log:
fix embedded builds
Modified: trunk/src/openocd.c
===================================================================
--- trunk/src/openocd.c 2009-05-03 20:21:32 UTC (rev 1597)
+++ trunk/src/openocd.c 2009-05-03 20:48:20 UTC (rev 1598)
@@ -187,7 +187,8 @@
command_context_t *global_cmd_ctx;
-static command_context_t *setup_command_handler(void)
+/* NB! this fn can be invoked outside this file for non PC hosted builds */
+command_context_t *setup_command_handler(void)
{
command_context_t *cmd_ctx;
@@ -229,7 +230,7 @@
void httpd_stop(void);
-#if !BUILD_HTTPD
+#if !BUILD_HTTPD && !BUILD_ECOSBOARD
/* implementations of OpenOCD that uses multithreading needs to know when
* OpenOCD is sleeping. No-op in vanilla OpenOCD
*/
|