mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2025-04-04 09:37:13 +02:00
Don't define __ISO_C_VISIBLE unconditionally.
__ISO_C_VISIBLE is already defined on FreeBSD. By default, it has a value of 2011. This causes a lot of compiler warnings.
This commit is contained in:
parent
f835657bd8
commit
f9fd21c96f
1 changed files with 2 additions and 0 deletions
|
@ -57,7 +57,9 @@ extern const union __nan_un {
|
||||||
//VBS begin
|
//VBS begin
|
||||||
#define __MATH_BUILTIN_CONSTANTS
|
#define __MATH_BUILTIN_CONSTANTS
|
||||||
#define __MATH_BUILTIN_RELOPS
|
#define __MATH_BUILTIN_RELOPS
|
||||||
|
#ifndef __ISO_C_VISIBLE
|
||||||
#define __ISO_C_VISIBLE 1999
|
#define __ISO_C_VISIBLE 1999
|
||||||
|
#endif
|
||||||
//VBS end
|
//VBS end
|
||||||
|
|
||||||
#ifdef __MATH_BUILTIN_CONSTANTS
|
#ifdef __MATH_BUILTIN_CONSTANTS
|
||||||
|
|
Loading…
Add table
Reference in a new issue