add float_t and double_t to math.h

This commit is contained in:
Rich Felker 2012-02-15 21:47:55 -05:00
parent 88d84b7cc8
commit 414a4cdebc
4 changed files with 11 additions and 0 deletions

View File

@ -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; };

View File

@ -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; };

View File

@ -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; };

View File

@ -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