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

[email protected] Wed, 22 Oct 2008 17:40:32 -0000
Newsgroups gmane.text.xml.xalan.cvs
Message-ID <[email protected]>
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;