aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdbstub.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdbstub.h b/gdbstub.h
index a3159cc..53cf50b 100644
--- a/gdbstub.h
+++ b/gdbstub.h
@@ -59,9 +59,8 @@
} \
}
#else
-#define ASSERT(x) { \
- while(1); \
-}
+#define ASSERT(x) \
+ do {} while (0)
#endif
#endif