stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r573904 - in /incubator/stdcxx/trunk/include/ansi: climits limits.h
Date Sat, 08 Sep 2007 20:38:01 GMT
Author: sebor
Date: Sat Sep  8 13:38:00 2007
New Revision: 573904

URL: http://svn.apache.org/viewvc?rev=573904&view=rev
Log:
2007-09-07 Travis Vitek <vitek@roguewave.com>

	STDCXX-436
	* limits.h (MB_LEN_MAX): Redefine MB_LEN_MAX if the current
	value is different from the configured value.
	* climits (MB_LEN_MAX): Ditto.

Modified:
    incubator/stdcxx/trunk/include/ansi/climits
    incubator/stdcxx/trunk/include/ansi/limits.h

Modified: incubator/stdcxx/trunk/include/ansi/climits
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/ansi/climits?rev=573904&r1=573903&r2=573904&view=diff
==============================================================================
--- incubator/stdcxx/trunk/include/ansi/climits (original)
+++ incubator/stdcxx/trunk/include/ansi/climits Sat Sep  8 13:38:00 2007
@@ -107,4 +107,9 @@
 
 #endif  // _RWSTD_NO_PURE_C_HEADERS
 
+#if (MB_LEN_MAX != _RWSTD_MB_LEN_MAX)
+#  undef MB_LEN_MAX
+#  define MB_LEN_MAX _RWSTD_MB_LEN_MAX
+#endif   // MB_LEN_MAX
+
 #endif   // _RWSTD_CLIMITS_INCLUDED

Modified: incubator/stdcxx/trunk/include/ansi/limits.h
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/ansi/limits.h?rev=573904&r1=573903&r2=573904&view=diff
==============================================================================
--- incubator/stdcxx/trunk/include/ansi/limits.h (original)
+++ incubator/stdcxx/trunk/include/ansi/limits.h Sat Sep  8 13:38:00 2007
@@ -115,4 +115,9 @@
 #  endif   // _POSIX_PATH_MAX
 #endif   // HP-UX
 
+#if (MB_LEN_MAX != _RWSTD_MB_LEN_MAX)
+#  undef MB_LEN_MAX
+#  define MB_LEN_MAX _RWSTD_MB_LEN_MAX
+#endif   // MB_LEN_MAX
+
 #endif   // _RWSTD_LIMITS_H_INCLUDED



Mime
View raw message