stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r584009 - /incubator/stdcxx/trunk/src/limits_bits.cpp
Date Fri, 12 Oct 2007 00:45:43 GMT
Author: sebor
Date: Thu Oct 11 17:45:40 2007
New Revision: 584009

URL: http://svn.apache.org/viewvc?rev=584009&view=rev
Log:
2007-10-11  Martin Sebor  <sebor@roguewave.com>

	STDCXX-509
	* limits_bits.cpp [_RWSTD_NO_INFINITY] (__rw_flt_denorm_min,
	__rw_flt_infinity, __rw_flt_qNaN, __rw_flt_sNaN, __rw_dbl_denorm_min,
	__rw_dbl_infinity, __rw_dbl_qNaN, __rw_dbl_sNaN, __rw_ldbl_denorm_min,
	__rw_ldbl_infinity, __rw_ldbl_qNaN, __rw_ldbl_sNaN): Declared constants
	with "C" linkage corresponding to rev 564059.

Modified:
    incubator/stdcxx/trunk/src/limits_bits.cpp

Modified: incubator/stdcxx/trunk/src/limits_bits.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/limits_bits.cpp?rev=584009&r1=584008&r2=584009&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/limits_bits.cpp (original)
+++ incubator/stdcxx/trunk/src/limits_bits.cpp Thu Oct 11 17:45:40 2007
@@ -150,6 +150,8 @@
 
 #else   // if defined (_RWSTD_NO_INFINITY)
 
+extern "C" {
+
 // as the last resort compute values at dynamic initialization time
 _RWSTD_EXPORT extern const float __rw_flt_infinity =
 
@@ -221,6 +223,9 @@
 _RWSTD_EXPORT extern const long double __rw_ldbl_denorm_min = 0;
 
 #  endif   // _RWSTD_NO_LONG_DOUBLE
+
+}   // extern "C"
+
 
 #endif   // _RWSTD_NO_INFINITY
 



Mime
View raw message