stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r388824 - /incubator/stdcxx/trunk/src/locale_body.cpp
Date Sat, 25 Mar 2006 20:52:42 GMT
Author: sebor
Date: Sat Mar 25 12:52:41 2006
New Revision: 388824

URL: http://svn.apache.org/viewcvs?rev=388824&view=rev
Log:
2006-03-25  Martin Sebor  <sebor@roguewave.com>

	* locale_body.cpp (__rw_cats): Guarded the use of _RWSTD_CAT_5
	and used _RWSTD_CAT_0 in its place when not #defined (e.g., by
	dumb windoze).

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

Modified: incubator/stdcxx/trunk/src/locale_body.cpp
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/src/locale_body.cpp?rev=388824&r1=388823&r2=388824&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/locale_body.cpp (original)
+++ incubator/stdcxx/trunk/src/locale_body.cpp Sat Mar 25 12:52:41 2006
@@ -79,7 +79,14 @@
     _RWSTD_CAT_2 (_RW::__rw_locale),
     _RWSTD_CAT_3 (_RW::__rw_locale),
     _RWSTD_CAT_4 (_RW::__rw_locale),
+
+#ifdef _RWSTD_CAT_5
     _RWSTD_CAT_5 (_RW::__rw_locale)
+#else   // if !defined (_RWSTD_CAT_5)
+    // for Windoze (no LC_MESSAGES there)
+    _RWSTD_CAT_0 (_RW::__rw_locale)
+#endif   // _RWSTD_CAT_5
+
 };
 
 



Mime
View raw message