You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2008/10/22 19:40:32 UTC

svn commit: r707145 - /xalan/c/trunk/src/xalanc/PlatformSupport/DoubleSupport.hpp

Author: dbertoni
Date: Wed Oct 22 10:40:32 2008
New Revision: 707145

URL: http://svn.apache.org/viewvc?rev=707145&view=rev
Log:
isnan() is not available on Cygwin.

Modified:
    xalan/c/trunk/src/xalanc/PlatformSupport/DoubleSupport.hpp

Modified: xalan/c/trunk/src/xalanc/PlatformSupport/DoubleSupport.hpp
URL: http://svn.apache.org/viewvc/xalan/c/trunk/src/xalanc/PlatformSupport/DoubleSupport.hpp?rev=707145&r1=707144&r2=707145&view=diff
==============================================================================
--- xalan/c/trunk/src/xalanc/PlatformSupport/DoubleSupport.hpp (original)
+++ xalan/c/trunk/src/xalanc/PlatformSupport/DoubleSupport.hpp Wed Oct 22 10:40:32 2008
@@ -79,7 +79,7 @@
     {
 #if defined(_MSC_VER)
         return _isnan(theNumber) != 0;
-#elif defined(XALAN_POSIX2_AVAILABLE)
+#elif defined(XALAN_POSIX2_AVAILABLE) && !defined(CYGWIN)
         return isnan(theNumber) != 0;
 #else
         return s_NaN == theNumber;



---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org