X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FElCLib%2FElCLib.cxx;h=30977950994ed6bdc542df4c8e0605f93b2c5473;hb=ff1f0c9ae2515b35fd8ebf8453e9041c821b517f;hpb=d5477f8c82f80b2f1fb6dd0362180e01d6ac87e1 diff --git a/src/ElCLib/ElCLib.cxx b/src/ElCLib/ElCLib.cxx index 5436b89a28..3097795099 100644 --- a/src/ElCLib/ElCLib.cxx +++ b/src/ElCLib/ElCLib.cxx @@ -1394,7 +1394,7 @@ Standard_Real ElCLib::HyperbolaParameter (const gp_Ax2& Pos, gp_Vec(Pos.Location (), P).Dot (gp_Vec (Pos.YDirection())) / MinorRadius; -#if __QNX__ +#if defined(__QNX__) return std::asinh(sht); #else return asinh(sht); @@ -1477,7 +1477,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 __QNX__ +#if defined(__QNX__) return std::asinh(sht); #else return asinh(sht);