diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-07 16:13:54 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-07 16:13:54 +0000 |
commit | 33682ec49aa3d2797d3955e7d322a916f8249286 (patch) | |
tree | 249ccefbfa4750115f7f2f9c36dd139eb9ca7613 | |
parent | d203582a89454513db183c8dd880d6e07c1527ae (diff) | |
download | openocd_libswd-33682ec49aa3d2797d3955e7d322a916f8249286.tar.gz openocd_libswd-33682ec49aa3d2797d3955e7d322a916f8249286.tar.bz2 openocd_libswd-33682ec49aa3d2797d3955e7d322a916f8249286.tar.xz openocd_libswd-33682ec49aa3d2797d3955e7d322a916f8249286.zip |
- correct BUILD_ECOSBOARD definition is server.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@896 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/server/server.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/server/server.c b/src/server/server.c index aad98747..062d74e6 100644 --- a/src/server/server.c +++ b/src/server/server.c @@ -306,7 +306,7 @@ int server_loop(command_context_t *command_context) } #ifndef _WIN32 -#ifndef BUILD_ECOSBOARD +#if BUILD_ECOSBOARD == 0 /* add STDIN to read_fds */ FD_SET(fileno(stdin), &read_fds); #endif @@ -400,7 +400,7 @@ int server_loop(command_context_t *command_context) } #ifndef _WIN32 -#ifndef BUILD_ECOSBOARD +#if BUILD_ECOSBOARD == 0 if (FD_ISSET(fileno(stdin), &read_fds)) { if (getc(stdin) == 'x') @@ -455,7 +455,6 @@ int server_init(void) signal(SIGBREAK, sig_handler); signal(SIGABRT, sig_handler); #endif - return ERROR_OK; } @@ -487,5 +486,3 @@ int handle_shutdown_command(struct command_context_s *cmd_ctx, char *cmd, char * return ERROR_COMMAND_CLOSE_CONNECTION; } - - |