0026867: Configuration - update any comparison including __cplusplus macro to remove one

__cplusplus >= 201103L replaced with __QNX__ macro
This commit is contained in:
ibs
2015-11-09 10:47:45 +03:00
committed by bugmaster
parent 420f79f8bc
commit ad77956498
3 changed files with 6 additions and 6 deletions

View File

@@ -1343,7 +1343,7 @@ Standard_Real ElCLib::HyperbolaParameter (const gp_Ax2& Pos,
gp_Vec(Pos.Location (), P).Dot
(gp_Vec (Pos.YDirection())) / MinorRadius;
#if __cplusplus >= 201103L
#if __QNX__
return std::asinh(sht);
#else
return asinh(sht);
@@ -1426,7 +1426,7 @@ Standard_Real ElCLib::HyperbolaParameter (const gp_Ax22d& Pos,
{
gp_Vec2d V (Pos.YDirection().XY());
Standard_Real sht = gp_Vec2d(Pos.Location(),P).Dot(V) /MinorRadius;
#if __cplusplus >= 201103L
#if __QNX__
return std::asinh(sht);
#else
return asinh(sht);

View File

@@ -240,7 +240,7 @@ Standard_Real ATanh(const Standard_Real Value)
cout << "Illegal agument in ATanh" << endl ;
#endif
}
#if __cplusplus >= 201103L
#if __QNX__
return std::atanh(Value);
#else
return atanh(Value);
@@ -258,7 +258,7 @@ Standard_Real ACosh (const Standard_Real Value)
cout << "Illegal agument in ACosh" << endl ;
#endif
}
#if __cplusplus >= 201103L
#if __QNX__
return std::acosh(Value);
#else
return acosh(Value);

View File

@@ -294,8 +294,8 @@ inline Standard_Real Sinh(const Standard_Real Value)
//-------------------------------------------------------------------
// ASinh : Returns the hyperbolic arc sine of a real
//-------------------------------------------------------------------
inline Standard_Real ASinh(const Standard_Real Value)
#if __cplusplus >= 201103L
inline Standard_Real ASinh(const Standard_Real Value)
#if __QNX__
{ return std::asinh(Value); }
#else
{ return asinh(Value); }