From 27222e9cd82d112f1e9dc49f976a6f7b992ec2a7 Mon Sep 17 00:00:00 2001 From: yangjie Date: Sat, 7 Sep 2019 18:06:03 +0800 Subject: [PATCH] =?UTF-8?q?[compilers][libc]=20=E5=9C=A8=20minilibc=20?= =?UTF-8?q?=E7=9A=84=20math.h=20=E4=B8=AD=E5=A2=9E=E5=8A=A0=20float=5Ft=20?= =?UTF-8?q?=E4=B8=8E=20double=5Ft=20=E7=9A=84=E5=AE=9A=E4=B9=89?= 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(+) 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