From e68120a8b2e6b1aa2111bab9e8fc2fcd4a1a18b7 Mon Sep 17 00:00:00 2001 From: Wang Renxin Date: Mon, 15 Feb 2016 23:15:19 +0800 Subject: [PATCH] *fixed a compile error with gcc. --- shell/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/main.c b/shell/main.c index 17d2060..3fdee60 100755 --- a/shell/main.c +++ b/shell/main.c @@ -1094,7 +1094,7 @@ static int_t _ticks(void) { return (int_t)(ts.tv_sec * 1000 + ts.tv_nsec / 1000000); } -#elif defined defined __GNUC__ +#elif defined __GNUC__ static int_t _ticks(void) { struct timespec ts;