From 27222e9cd82d112f1e9dc49f976a6f7b992ec2a7 Mon Sep 17 00:00:00 2001 From: yangjie Date: Sat, 7 Sep 2019 18:06:03 +0800 Subject: [compilers][libc] 在 minilibc 的 math.h 中增加 float_t 与 double_t 的定义 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/libc/compilers/minilibc/math.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'components/libc/compilers') diff --git a/components/libc/compilers/minilibc/math.h b/components/libc/compilers/minilibc/math.h index 9ddb9c859b..49b80d8219 100644 --- a/components/libc/compilers/minilibc/math.h +++ b/components/libc/compilers/minilibc/math.h @@ -14,4 +14,7 @@ double sin(double x); double cos(double x); +typedef float float_t; +typedef double double_t; + #endif -- cgit v1.3.1