dbertoni    2002/08/04 21:54:45

  Modified:    c/src/PlatformSupport DoubleSupport.cpp
  Log:
  Workaround for problem with STLport's std::numeric_limits.
  
  Revision  Changes    Path
  1.33      +5 -0      xml-xalan/c/src/PlatformSupport/DoubleSupport.cpp
  
  Index: DoubleSupport.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/DoubleSupport.cpp,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- DoubleSupport.cpp 11 Apr 2002 05:52:02 -0000      1.32
  +++ DoubleSupport.cpp 5 Aug 2002 04:54:45 -0000       1.33
  @@ -91,7 +91,12 @@
   
   #else
   
  +#if defined(__SGI_STL_PORT)
  +const double DoubleSupport::s_NaN = sqrt(-2.01);
  +#else
   const double DoubleSupport::s_NaN = std::numeric_limits<double>::quiet_NaN();
  +#endif
  +
   const double DoubleSupport::s_positiveInfinity = 
std::numeric_limits<double>::infinity();
   
   #endif
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to