提交 414a4cde 编写于 作者: R Rich Felker

add float_t and double_t to math.h

上级 88d84b7c
......@@ -56,6 +56,9 @@ TYPEDEF uint64_t uint_fast64_t;
TYPEDEF long intptr_t;
TYPEDEF unsigned long uintptr_t;
TYPEDEF float float_t;
TYPEDEF double double_t;
TYPEDEF long time_t;
TYPEDEF int suseconds_t;
STRUCT timeval { time_t tv_sec; int tv_usec; };
......
......@@ -64,6 +64,9 @@ TYPEDEF uint64_t uint_fast64_t;
TYPEDEF long intptr_t;
TYPEDEF unsigned long uintptr_t;
TYPEDEF long double float_t;
TYPEDEF long double double_t;
TYPEDEF long time_t;
TYPEDEF int suseconds_t;
STRUCT timeval { time_t tv_sec; int tv_usec; };
......
......@@ -55,6 +55,9 @@ TYPEDEF uint64_t uint_fast64_t;
TYPEDEF long intptr_t;
TYPEDEF unsigned long uintptr_t;
TYPEDEF double float_t;
TYPEDEF double double_t;
TYPEDEF long time_t;
TYPEDEF long suseconds_t;
STRUCT timeval { time_t tv_sec; long tv_usec; };
......
......@@ -5,6 +5,8 @@
extern "C" {
#endif
#define __NEED_float_t
#define __NEED_double_t
#define __NEED___uint16_t
#define __NEED___uint32_t
#define __NEED___uint64_t
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册