Author: sebor
Date: Wed Apr  9 16:30:44 2008
New Revision: 646597

URL: http://svn.apache.org/viewvc?rev=646597&view=rev
Log:
2008-04-09  Martin Sebor  <[EMAIL PROTECTED]>

        * src/num_put.cpp [_RWSTD_OS_SUNOS]: Included <sunmath.h> signbit()
        on Solaris. Needed to complete the patch for STDCXX-51 committed in
        rev 646396.

Modified:
    stdcxx/trunk/src/num_put.cpp

Modified: stdcxx/trunk/src/num_put.cpp
URL: 
http://svn.apache.org/viewvc/stdcxx/trunk/src/num_put.cpp?rev=646597&r1=646596&r2=646597&view=diff
==============================================================================
--- stdcxx/trunk/src/num_put.cpp (original)
+++ stdcxx/trunk/src/num_put.cpp Wed Apr  9 16:30:44 2008
@@ -22,7 +22,7 @@
  * implied.   See  the License  for  the  specific language  governing
  * permissions and limitations under the License.
  *
- * Copyright 2001-2006 Rogue Wave Software.
+ * Copyright 2001-2008 Rogue Wave Software, Inc.
  * 
  **************************************************************************/
 
@@ -36,6 +36,10 @@
 
 #include <float.h>   // for _finite(), _fpclass(), _isnan(), _copysign()
 #include <math.h>    // for isfinite(), isnan(), isinf(), signbit()
+
+#ifdef _RWSTD_OS_SUNOS
+#  include <sunmath.h>   // for signbit() on Solaris
+#endif   // Solaris
 
 #ifndef _RWSTD_NO_IEEEFP_H
 #  include <ieeefp.h>   // for fpclass(), isnan()


Reply via email to