You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2006/03/25 21:52:42 UTC
svn commit: r388824 - /incubator/stdcxx/trunk/src/locale_body.cpp
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 <se...@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
+
};