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:
Ed Schouten 2015-01-07 22:20:56 +01:00
parent f835657bd8
commit f9fd21c96f
1 changed files with 2 additions and 0 deletions

View File

@ -57,7 +57,9 @@ extern const union __nan_un {
//VBS begin
#define __MATH_BUILTIN_CONSTANTS
#define __MATH_BUILTIN_RELOPS
#ifndef __ISO_C_VISIBLE
#define __ISO_C_VISIBLE 1999
#endif
//VBS end
#ifdef __MATH_BUILTIN_CONSTANTS