aboutsummaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2019-12-18 14:19:18 -0800
committerTim Newsome <tim@sifive.com>2019-12-18 14:19:18 -0800
commit06c596e19f2c16c65a78f37eb227f93f0e99970f (patch)
tree1a028f52352d80eb688d4c0b1f7de8bf088c2a43 /src/helper
parent8a9df230ad6cb6ac6a57e0668ffee11bd4988416 (diff)
downloadriscv-openocd-06c596e19f2c16c65a78f37eb227f93f0e99970f.zip
riscv-openocd-06c596e19f2c16c65a78f37eb227f93f0e99970f.tar.gz
riscv-openocd-06c596e19f2c16c65a78f37eb227f93f0e99970f.tar.bz2
Rename ERROR_BUSY to ERROR_TARGET_BUSY.busy
ERROR_BUSY is already defined somewhere in Windows land. Change-Id: I91e6f5b6448ce38a2a38598b7261a40bd2488ec5
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/log.h b/src/helper/log.h
index 2122d81..acc8aed 100644
--- a/src/helper/log.h
+++ b/src/helper/log.h
@@ -151,7 +151,7 @@ extern int debug_level;
#define ERROR_WAIT (-5)
/* ERROR_TIMEOUT is already taken by winerror.h. */
#define ERROR_TIMEOUT_REACHED (-6)
-#define ERROR_BUSY (-7)
+#define ERROR_TARGET_BUSY (-7)
#endif /* OPENOCD_HELPER_LOG_H */