mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2025-01-01 06:23:39 +01:00
Remove {cdefs,types}-compat.h from openlibm.h
This commit is contained in:
parent
eb2f4d4b44
commit
7065fdf6c5
1 changed files with 12 additions and 4 deletions
|
@ -17,8 +17,11 @@
|
||||||
#ifndef _MATH_H_
|
#ifndef _MATH_H_
|
||||||
#define _MATH_H_
|
#define _MATH_H_
|
||||||
|
|
||||||
#include "cdefs-compat.h"
|
#if (defined(_WIN32) || defined (_MSC_VER)) && !defined(__WIN32__)
|
||||||
#include "types-compat.h"
|
#define __WIN32__
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define __pure2
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ANSI/POSIX
|
* ANSI/POSIX
|
||||||
|
@ -172,7 +175,10 @@ extern int signgam;
|
||||||
* effect of raising floating-point exceptions, so they are not declared
|
* effect of raising floating-point exceptions, so they are not declared
|
||||||
* as __pure2. In C99, FENV_ACCESS affects the purity of these functions.
|
* as __pure2. In C99, FENV_ACCESS affects the purity of these functions.
|
||||||
*/
|
*/
|
||||||
__BEGIN_DECLS
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
/*
|
/*
|
||||||
* ANSI/POSIX
|
* ANSI/POSIX
|
||||||
*/
|
*/
|
||||||
|
@ -490,5 +496,7 @@ long double tgammal(long double);
|
||||||
long double truncl(long double);
|
long double truncl(long double);
|
||||||
|
|
||||||
#endif /* __ISO_C_VISIBLE >= 1999 */
|
#endif /* __ISO_C_VISIBLE >= 1999 */
|
||||||
__END_DECLS
|
#if defined(__cplusplus)
|
||||||
|
}
|
||||||
|
#endif
|
||||||
#endif /* !_MATH_H_ */
|
#endif /* !_MATH_H_ */
|
||||||
|
|
Loading…
Reference in a new issue