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/09/29 20:55:38 UTC

svn commit: r700209 - /xalan/c/trunk/src/xalanc/Include/SolarisDefinitions.hpp

Author: dbertoni
Date: Mon Sep 29 11:55:38 2008
New Revision: 700209

URL: http://svn.apache.org/viewvc?rev=700209&view=rev
Log:
Use stdd::numeric_limits for Solaris x86 and AMD64.  Fixes XALANC-588.  Also removed obsolete #define.

Modified:
    xalan/c/trunk/src/xalanc/Include/SolarisDefinitions.hpp

Modified: xalan/c/trunk/src/xalanc/Include/SolarisDefinitions.hpp
URL: http://svn.apache.org/viewvc/xalan/c/trunk/src/xalanc/Include/SolarisDefinitions.hpp?rev=700209&r1=700208&r2=700209&view=diff
==============================================================================
--- xalan/c/trunk/src/xalanc/Include/SolarisDefinitions.hpp (original)
+++ xalan/c/trunk/src/xalanc/Include/SolarisDefinitions.hpp Mon Sep 29 11:55:38 2008
@@ -35,12 +35,11 @@
 #define XALAN_HAS_CPP_NAMESPACE
 #define XALAN_STRICT_ANSI_HEADERS
 
-// Standard allocators don't seem to work correctly with this compiler.
-// I don't know if this is their bug, or ours...
-#define XALAN_NO_STD_ALLOCATORS
 #define XALAN_RW_NO_CLASS_PARTIAL_SPEC
 
 #define XALAN_POSIX2_AVAILABLE
+#if defined(__sparc)
 #define XALAN_NO_STD_NUMERIC_LIMITS
+#endif
 
 #endif  // SOLARISDEFINITIONS_HEADER_GUARD_1357924680



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