This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

obvious(?) typo in libstdc++-v3/src/c++98/locale.cc


The typo is obvious, but whether or not the wrapped code still works
isn't (to me).

	* src/c++98/locale.cc (locale::facet::_S_get_c_locale): Fix typo.

Index: libstdc++-v3/src/c++98/locale.cc
===================================================================
--- libstdc++-v3/src/c++98/locale.cc	(revision 183469)
+++ libstdc++-v3/src/c++98/locale.cc	(working copy)
@@ -203,13 +203,13 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
     _S_create_c_locale(_S_c_locale, _S_c_name);
   }
 
   __c_locale
   locale::facet::_S_get_c_locale()
   {
-#ifdef __GHTREADS
+#ifdef __GTHREADS
     if (__gthread_active_p())
       __gthread_once(&_S_once, _S_initialize_once);
     else
 #endif
       {
 	if (!_S_c_locale)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]