1.1 --- a/epoc32/include/stdapis/stlportv5/stl/_time_facets.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ b/epoc32/include/stdapis/stlportv5/stl/_time_facets.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -1,22 +1,22 @@
1.4 /*
1.5 - * © Portions copyright (c) 2006-2007 Nokia Corporation. All rights reserved.
1.6 + * Portions Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
1.7 *
1.8 * Copyright (c) 1999
1.9 * Silicon Graphics Computer Systems, Inc.
1.10 *
1.11 - * Copyright (c) 1999
1.12 + * Copyright (c) 1999
1.13 * Boris Fomitchev
1.14 *
1.15 * This material is provided "as is", with absolutely no warranty expressed
1.16 * or implied. Any use is at your own risk.
1.17 *
1.18 - * Permission to use or copy this software for any purpose is hereby granted
1.19 + * Permission to use or copy this software for any purpose is hereby granted
1.20 * without fee, provided the above notices are retained on all copies.
1.21 * Permission to modify the code and to distribute modified code is granted,
1.22 * provided the above notices are retained, and a notice that the code was
1.23 * modified is included with the above copyright notice.
1.24 *
1.25 - */
1.26 + */
1.27 // WARNING: This is an internal header file, included by other C++
1.28 // standard library headers. You should not attempt to use this header
1.29 // file directly.
1.30 @@ -25,15 +25,22 @@
1.31 #ifndef _STLP_INTERNAL_TIME_FACETS_H
1.32 #define _STLP_INTERNAL_TIME_FACETS_H
1.33
1.34 -#ifndef _STLP_CTIME
1.35 -# include <ctime> // Needed (for struct tm) by time facets
1.36 +#ifndef _STLP_INTERNAL_CTIME
1.37 +# include <stl/_ctime.h> // Needed (for struct tm) by time facets
1.38 #endif
1.39
1.40 -#include <stl/c_locale.h>
1.41 -#include <stl/_ios_base.h>
1.42 +#ifndef _STLP_C_LOCALE_H
1.43 +# include <stl/c_locale.h>
1.44 +#endif
1.45 +
1.46 +#ifndef _STLP_IOS_BASE_H
1.47 +# include <stl/_ios_base.h>
1.48 +#endif
1.49
1.50 _STLP_BEGIN_NAMESPACE
1.51
1.52 +_STLP_MOVE_TO_PRIV_NAMESPACE
1.53 +
1.54 // Template functions used by time_get
1.55
1.56 // Matching input against a list of names
1.57 @@ -93,64 +100,66 @@
1.58 _STLP_DECLSPEC void _STLP_CALL _Init_timeinfo(_Time_Info&);
1.59 _STLP_DECLSPEC void _STLP_CALL _Init_timeinfo(_Time_Info&, _Locale_time*);
1.60
1.61 +_STLP_MOVE_TO_STD_NAMESPACE
1.62 +
1.63 class _STLP_CLASS_DECLSPEC time_base {
1.64 public:
1.65 enum dateorder {no_order, dmy, mdy, ymd, ydm};
1.66 };
1.67
1.68 -
1.69 -template <class _Ch, __DFL_TMPL_PARAM( _InIt , istreambuf_iterator<_Ch>) >
1.70 -class time_get : public locale::facet, public time_base
1.71 -{
1.72 - friend class _Locale;
1.73 +#if defined (_STLP_LIMITED_DEFAULT_TEMPLATES)
1.74 +template <class _Ch, class _InIt>
1.75 +#else
1.76 +template <class _Ch, class _InIt = istreambuf_iterator<_Ch, char_traits<_Ch> > >
1.77 +#endif
1.78 +class time_get : public locale::facet, public time_base {
1.79 + friend class _Locale_impl;
1.80
1.81 public:
1.82 typedef _Ch char_type;
1.83 typedef _InIt iter_type;
1.84
1.85 - explicit time_get(size_t __refs = 0) : _BaseFacet(__refs) {
1.86 - _Init_timeinfo(_M_timeinfo);
1.87 - }
1.88 + explicit time_get(size_t __refs = 0) : locale::facet(__refs)
1.89 + { _STLP_PRIV _Init_timeinfo(_M_timeinfo); }
1.90 dateorder date_order() const { return do_date_order(); }
1.91 iter_type get_time(iter_type __s, iter_type __end, ios_base& __str,
1.92 ios_base::iostate& __err, tm* __t) const
1.93 - { return do_get_time(__s, __end, __str, __err, __t); }
1.94 + { return do_get_time(__s, __end, __str, __err, __t); }
1.95 iter_type get_date(iter_type __s, iter_type __end, ios_base& __str,
1.96 ios_base::iostate& __err, tm* __t) const
1.97 - { return do_get_date(__s, __end, __str, __err, __t); }
1.98 + { return do_get_date(__s, __end, __str, __err, __t); }
1.99 iter_type get_weekday(iter_type __s, iter_type __end, ios_base& __str,
1.100 ios_base::iostate& __err, tm* __t) const
1.101 - { return do_get_weekday(__s, __end, __str, __err, __t); }
1.102 + { return do_get_weekday(__s, __end, __str, __err, __t); }
1.103 iter_type get_monthname(iter_type __s, iter_type __end, ios_base& __str,
1.104 ios_base::iostate& __err, tm* __t) const
1.105 - { return do_get_monthname(__s, __end, __str, __err, __t); }
1.106 + { return do_get_monthname(__s, __end, __str, __err, __t); }
1.107 iter_type get_year(iter_type __s, iter_type __end, ios_base& __str,
1.108 ios_base::iostate& __err, tm* __t) const
1.109 - { return do_get_year(__s, __end, __str, __err, __t); }
1.110 + { return do_get_year(__s, __end, __str, __err, __t); }
1.111
1.112 -#if defined(__LIBSTD_CPP_SYMBIAN32_WSD__) || defined(_STLP_LIBSTD_CPP_NO_STATIC_VAR_)
1.113 - _STLP_STATIC_MEMBER_DECLSPEC static locale::id& GetFacetLocaleId();
1.114 - _STLP_STATIC_MEMBER_DECLSPEC static locale::id& GetFacetLocaleId(istreambuf_iterator<wchar_t, char_traits<wchar_t> >*);
1.115 - _STLP_STATIC_MEMBER_DECLSPEC static locale::id& GetFacetLocaleId(const wchar_t**);
1.116 - _STLP_STATIC_MEMBER_DECLSPEC static locale::id& GetFacetLocaleId(istreambuf_iterator<char, char_traits<char> >*);
1.117 - _STLP_STATIC_MEMBER_DECLSPEC static locale::id& GetFacetLocaleId(const char**);
1.118 +#if defined(__SYMBIAN32__WSD__)
1.119 + static _STLP_STATIC_MEMBER_DECLSPEC locale::id& GetFacetLocaleId();
1.120 +#elif defined (__SYMBIAN32__NO_STATIC_IMPORTS__)
1.121 + static _STLP_STATIC_MEMBER_DECLSPEC locale::id& GetFacetLocaleId();
1.122 + static locale::id id;
1.123 #else
1.124 - _STLP_STATIC_MEMBER_DECLSPEC static locale::id id;
1.125 + // NOTE: Symbian doesn't support exporting static data.
1.126 + // Users of this class should use GetFacetLocaleId() to access the data member id
1.127 + static _STLP_STATIC_MEMBER_DECLSPEC locale::id id;
1.128 #endif
1.129
1.130 protected:
1.131 - _Time_Info _M_timeinfo;
1.132 -
1.133 - time_get(_Locale_time *, size_t __refs) : _BaseFacet(__refs) {}
1.134 + time_get(_Locale_time *, size_t __refs) : locale::facet(__refs) {}
1.135
1.136 ~time_get() {}
1.137
1.138 virtual dateorder do_date_order() const {return no_order;}
1.139 -
1.140 +
1.141 virtual iter_type do_get_time(iter_type __s, iter_type __end,
1.142 ios_base&, ios_base::iostate& __err,
1.143 tm* __t) const;
1.144 -
1.145 +
1.146 virtual iter_type do_get_date(iter_type __s, iter_type __end,
1.147 ios_base&, ios_base::iostate& __err,
1.148 tm* __t) const;
1.149 @@ -163,34 +172,63 @@
1.150 ios_base&,
1.151 ios_base::iostate& __err,
1.152 tm* __t) const;
1.153 -
1.154 +
1.155 virtual iter_type do_get_year(iter_type __s, iter_type __end,
1.156 ios_base&, ios_base::iostate& __err,
1.157 tm* __t) const;
1.158 +
1.159 + _STLP_PRIV _Time_Info _M_timeinfo;
1.160 };
1.161
1.162 -time_base::dateorder _STLP_CALL
1.163 -_STLP_DECLSPEC __get_date_order(_Locale_time*);
1.164 -_Locale_time* _STLP_CALL __acquire_time(const char* __name);
1.165 -void _STLP_CALL __release_time(_Locale_time* __time);
1.166 +_STLP_MOVE_TO_PRIV_NAMESPACE
1.167
1.168 -template <class _Ch, __DFL_TMPL_PARAM( _InIt , istreambuf_iterator<_Ch>) >
1.169 -class time_get_byname : public time_get<_Ch, _InIt>
1.170 -{
1.171 +_STLP_DECLSPEC time_base::dateorder _STLP_CALL __get_date_order(_Locale_time*);
1.172 +_STLP_DECLSPEC _Locale_time* _STLP_CALL __acquire_time(const char* __name, _Locale_name_hint*);
1.173 +_STLP_DECLSPEC void _STLP_CALL __release_time(_Locale_time* __time);
1.174 +
1.175 +_STLP_MOVE_TO_STD_NAMESPACE
1.176 +
1.177 +template <class _Ch, class _InIt>
1.178 +class time_get_byname;
1.179 +
1.180 +#if defined (__GNUC__) && (__GNUC__ < 3)
1.181 +template <class _Ch, class _InIt>
1.182 +_Locale_name_hint* _Locale_time_extract_hint(time_get_byname<_Ch, _InIt>*);
1.183 +#else
1.184 +_Locale_name_hint* _Locale_time_extract_hint(time_get_byname<char, istreambuf_iterator<char, char_traits<char> > >*);
1.185 +#endif
1.186 +
1.187 +#if defined (_STLP_LIMITED_DEFAULT_TEMPLATES)
1.188 +template <class _Ch, class _InIt>
1.189 +#else
1.190 +template <class _Ch, class _InIt = istreambuf_iterator<_Ch, char_traits<_Ch> > >
1.191 +#endif
1.192 +class time_get_byname : public time_get<_Ch, _InIt> {
1.193 public:
1.194 typedef time_base::dateorder dateorder;
1.195 typedef _InIt iter_type;
1.196
1.197 - explicit time_get_byname(const char* __name, size_t __refs = 0)
1.198 + explicit time_get_byname(const char* __name, size_t __refs = 0, _Locale_name_hint* __hint = 0)
1.199 : time_get<_Ch, _InIt>((_Locale_time*) 0, __refs),
1.200 - _M_time(__acquire_time(__name))
1.201 - { _Init_timeinfo(this->_M_timeinfo, this->_M_time); }
1.202 + _M_time(_STLP_PRIV __acquire_time(__name, __hint))
1.203 + { _STLP_PRIV _Init_timeinfo(this->_M_timeinfo, this->_M_time); }
1.204
1.205 protected:
1.206 - ~time_get_byname() { __release_time(_M_time); }
1.207 - dateorder do_date_order() const { return __get_date_order(_M_time); }
1.208 + ~time_get_byname() { _STLP_PRIV __release_time(_M_time); }
1.209 + dateorder do_date_order() const { return _STLP_PRIV __get_date_order(_M_time); }
1.210 +
1.211 private:
1.212 _Locale_time* _M_time;
1.213 +
1.214 + typedef time_get_byname<_Ch, _InIt> _Self;
1.215 + //explicitely defined as private to avoid warnings:
1.216 + time_get_byname(_Self const&);
1.217 + _Self& operator = (_Self const&);
1.218 +#if defined (__GNUC__) && (__GNUC__ < 3)
1.219 + friend _Locale_name_hint* _Locale_time_extract_hint<>(_Self*);
1.220 +#else
1.221 + friend _Locale_name_hint* _Locale_time_extract_hint(time_get_byname<char, istreambuf_iterator<char, char_traits<char> > >*);
1.222 +#endif
1.223 };
1.224
1.225 // time_put facet
1.226 @@ -203,143 +241,121 @@
1.227 // format. As indicated by the foregoing remark, this will never be
1.228 // 'x', 'X', or 'c'.
1.229
1.230 +_STLP_MOVE_TO_PRIV_NAMESPACE
1.231 +
1.232 _STLP_DECLSPEC char * _STLP_CALL
1.233 -__write_formatted_time(char * __buf, char __format, char __modifier,
1.234 +__write_formatted_time(char *__buf, size_t __buf_size, char __format, char __modifier,
1.235 const _Time_Info& __table, const tm* __t);
1.236
1.237 template <class _OuIt>
1.238 -inline _OuIt _STLP_CALL __put_time(char * __first, char * __last, _OuIt __out,
1.239 - const ios_base& /* __loc */, char) {
1.240 - return copy(__first, __last, __out);
1.241 -}
1.242 +inline _OuIt _STLP_CALL __put_time(char * __first, char * __last, _OuIt __out_ite,
1.243 + const ios_base& /* __loc */, char)
1.244 +{ return copy(__first, __last, __out_ite); }
1.245
1.246 -# ifndef _STLP_NO_WCHAR_T
1.247 +#if !defined (_STLP_NO_WCHAR_T)
1.248 template <class _OuIt>
1.249 -_OuIt _STLP_CALL __put_time(char * __first, char * __last, _OuIt __out,
1.250 +_OuIt _STLP_CALL __put_time(char * __first, char * __last, _OuIt __out_ite,
1.251 const ios_base& __s, wchar_t);
1.252 -# endif
1.253 +#endif
1.254
1.255 -template<class _Ch, __DFL_TMPL_PARAM( _OutputIter , ostreambuf_iterator<_Ch> ) >
1.256 -class time_put : public locale::facet, public time_base
1.257 -{
1.258 - friend class _Locale;
1.259 +_STLP_MOVE_TO_STD_NAMESPACE
1.260 +
1.261 +#if defined (_STLP_LIMITED_DEFAULT_TEMPLATES)
1.262 +template <class _Ch, class _OutIt>
1.263 +#else
1.264 +template <class _Ch, class _OutIt = ostreambuf_iterator<_Ch, char_traits<_Ch> > >
1.265 +#endif
1.266 +class time_put : public locale::facet, public time_base {
1.267 + friend class _Locale_impl;
1.268 public:
1.269 typedef _Ch char_type;
1.270 - typedef _OutputIter iter_type;
1.271 + typedef _OutIt iter_type;
1.272
1.273 - explicit time_put(size_t __refs = 0) : _BaseFacet(__refs) {
1.274 - _Init_timeinfo(_M_timeinfo);
1.275 - }
1.276 + explicit time_put(size_t __refs = 0) : locale::facet(__refs)
1.277 + { _STLP_PRIV _Init_timeinfo(_M_timeinfo); }
1.278
1.279 - _OutputIter put(iter_type __s, ios_base& __f, _Ch __fill,
1.280 - const tm* __tmb,
1.281 - const _Ch* __pat, const _Ch* __pat_end) const;
1.282 -
1.283 - _OutputIter put(iter_type __s, ios_base& __f, _Ch __fill,
1.284 - const tm* __tmb, char __format, char __modifier = 0) const {
1.285 - return do_put(__s, __f, __fill, __tmb, __format, __modifier);
1.286 - }
1.287 -
1.288 -#if defined(__LIBSTD_CPP_SYMBIAN32_WSD__) || defined(_STLP_LIBSTD_CPP_NO_STATIC_VAR_)
1.289 - _STLP_STATIC_MEMBER_DECLSPEC static locale::id& GetFacetLocaleId();
1.290 - _STLP_STATIC_MEMBER_DECLSPEC static locale::id& GetFacetLocaleId(ostreambuf_iterator<wchar_t, char_traits<wchar_t> >*);
1.291 - _STLP_STATIC_MEMBER_DECLSPEC static locale::id& GetFacetLocaleId(wchar_t**);
1.292 - _STLP_STATIC_MEMBER_DECLSPEC static locale::id& GetFacetLocaleId(ostreambuf_iterator<char, char_traits<char> >*);
1.293 - _STLP_STATIC_MEMBER_DECLSPEC static locale::id& GetFacetLocaleId(char**);
1.294 + _OutIt put(iter_type __s, ios_base& __f, _Ch __fill,
1.295 + const tm* __tmb,
1.296 + const _Ch* __pat, const _Ch* __pat_end) const;
1.297 +
1.298 + _OutIt put(iter_type __s, ios_base& __f, _Ch __fill,
1.299 + const tm* __tmb, char __format, char __modifier = 0) const
1.300 + { return do_put(__s, __f, __fill, __tmb, __format, __modifier); }
1.301 +
1.302 +#if defined(__SYMBIAN32__WSD__)
1.303 + static _STLP_STATIC_MEMBER_DECLSPEC locale::id& GetFacetLocaleId();
1.304 +#elif defined (__SYMBIAN32__NO_STATIC_IMPORTS__)
1.305 + static _STLP_STATIC_MEMBER_DECLSPEC locale::id& GetFacetLocaleId();
1.306 + static locale::id id;
1.307 #else
1.308 - _STLP_STATIC_MEMBER_DECLSPEC static locale::id id;
1.309 + // NOTE: Symbian doesn't support exporting static data.
1.310 + // Users of this class should use GetFacetLocaleId() to access the data member id
1.311 + static _STLP_STATIC_MEMBER_DECLSPEC locale::id id;
1.312 #endif
1.313 -
1.314 +
1.315 protected:
1.316 - _Time_Info _M_timeinfo;
1.317 -
1.318 - time_put(_Locale_time* /*__time*/, size_t __refs) : _BaseFacet(__refs) {
1.319 - // _Init_timeinfo(_M_timeinfo, __time);
1.320 - }
1.321 + time_put(_Locale_time* /*__time*/, size_t __refs) : locale::facet(__refs)
1.322 + {} //_STLP_PRIV _Init_timeinfo(_M_timeinfo, __time); }
1.323
1.324 ~time_put() {}
1.325 virtual iter_type do_put(iter_type __s, ios_base& __f,
1.326 char_type /* __fill */, const tm* __tmb,
1.327 char __format, char /* __modifier */) const;
1.328 +
1.329 + _STLP_PRIV _Time_Info _M_timeinfo;
1.330 };
1.331
1.332 -template <class _Ch, __DFL_TMPL_PARAM( _InIt , ostreambuf_iterator<_Ch> ) >
1.333 -class time_put_byname : public time_put<_Ch, _InIt>
1.334 -{
1.335 - friend class _Locale;
1.336 +#if defined (_STLP_LIMITED_DEFAULT_TEMPLATES)
1.337 +template <class _Ch, class _OutIt>
1.338 +#else
1.339 +template <class _Ch, class _OutIt = ostreambuf_iterator<_Ch, char_traits<_Ch> > >
1.340 +#endif
1.341 +class time_put_byname : public time_put<_Ch, _OutIt> {
1.342 + friend class _Locale_impl;
1.343 public:
1.344 typedef time_base::dateorder dateorder;
1.345 - typedef _InIt iter_type;
1.346 + typedef _OutIt iter_type;
1.347 typedef _Ch char_type;
1.348
1.349 - explicit time_put_byname(const char * __name, size_t __refs = 0)
1.350 - : time_put<_Ch, _InIt>((_Locale_time*) 0, __refs),
1.351 - _M_time(__acquire_time(__name))
1.352 - { _Init_timeinfo(this->_M_timeinfo, this->_M_time); }
1.353 -
1.354 + explicit time_put_byname(const char * __name, size_t __refs = 0, _Locale_name_hint* __hint = 0)
1.355 + : time_put<_Ch, _OutIt>((_Locale_time*) 0, __refs),
1.356 + _M_time(_STLP_PRIV __acquire_time(__name, __hint))
1.357 + { _STLP_PRIV _Init_timeinfo(this->_M_timeinfo, this->_M_time); }
1.358 +
1.359 protected:
1.360 - ~time_put_byname() { __release_time(_M_time); }
1.361 + ~time_put_byname() { _STLP_PRIV __release_time(_M_time); }
1.362
1.363 private:
1.364 _Locale_time* _M_time;
1.365 +
1.366 + typedef time_put_byname<_Ch, _OutIt> _Self;
1.367 + //explicitely defined as private to avoid warnings:
1.368 + time_put_byname(_Self const&);
1.369 + _Self& operator = (_Self const&);
1.370 };
1.371
1.372 -# ifdef _STLP_USE_TEMPLATE_EXPORT
1.373 +#if defined (_STLP_USE_TEMPLATE_EXPORT)
1.374 _STLP_EXPORT_TEMPLATE_CLASS time_get<char, istreambuf_iterator<char, char_traits<char> > >;
1.375 _STLP_EXPORT_TEMPLATE_CLASS time_put<char, ostreambuf_iterator<char, char_traits<char> > >;
1.376 // _STLP_EXPORT_TEMPLATE_CLASS time_get<char, const char*>;
1.377 // _STLP_EXPORT_TEMPLATE_CLASS time_put<char, char*>;
1.378 -# ifndef _STLP_NO_WCHAR_T
1.379 +# if !defined (_STLP_NO_WCHAR_T)
1.380 _STLP_EXPORT_TEMPLATE_CLASS time_get<wchar_t, istreambuf_iterator<wchar_t, char_traits<wchar_t> > >;
1.381 _STLP_EXPORT_TEMPLATE_CLASS time_put<wchar_t, ostreambuf_iterator<wchar_t, char_traits<wchar_t> > >;
1.382 // _STLP_EXPORT_TEMPLATE_CLASS time_get<wchar_t, const wchar_t*>;
1.383 // _STLP_EXPORT_TEMPLATE_CLASS time_put<wchar_t, wchar_t*>;
1.384 -# endif /* INSTANTIATE_WIDE_STREAMS */
1.385 +# endif
1.386
1.387 -# endif
1.388 -
1.389 -# if defined (__BORLANDC__) && defined (_RTLDLL)
1.390 -inline void _Stl_loc_init_time_facets() {
1.391 -
1.392 -#if defined(__LIBSTD_CPP_SYMBIAN32_WSD__) || defined(_STLP_LIBSTD_CPP_NO_STATIC_VAR_)
1.393 - time_get<char, istreambuf_iterator<char, char_traits<char> > >::GetFacetLocaleId()._M_index = 16;
1.394 - time_get<char, const char*>::GetFacetLocaleId()._M_index = 17;
1.395 - time_put<char, ostreambuf_iterator<char, char_traits<char> > >::GetFacetLocaleId()._M_index = 18;
1.396 - time_put<char, char*>::GetFacetLocaleId()._M_index = 19;
1.397 -#else
1.398 - time_get<char, istreambuf_iterator<char, char_traits<char> > >::GetFacetLocaleId()._M_index = 16;
1.399 - time_get<char, const char*>::id._M_index = 17;
1.400 - time_put<char, ostreambuf_iterator<char, char_traits<char> > >::GetFacetLocaleId()._M_index = 18;
1.401 - time_put<char, char*>::id._M_index = 19;
1.402 #endif
1.403
1.404 -# ifndef _STLP_NO_WCHAR_T
1.405 -#if defined(__LIBSTD_CPP_SYMBIAN32_WSD__) || defined(_STLP_LIBSTD_CPP_NO_STATIC_VAR_)
1.406 - time_get<wchar_t, istreambuf_iterator<wchar_t, char_traits<wchar_t> > >::GetFacetLocaleId()._M_index = 35;
1.407 - time_get<wchar_t, const wchar_t*>::GetFacetLocaleId()._M_index = 36;
1.408 - time_put<wchar_t, ostreambuf_iterator<wchar_t, char_traits<wchar_t> > >::GetFacetLocaleId()._M_index = 37;
1.409 - time_put<wchar_t, wchar_t*>::GetFacetLocaleId()._M_index = 38;
1.410 -#else
1.411 - time_get<wchar_t, istreambuf_iterator<wchar_t, char_traits<wchar_t> > >::id._M_index = 35;
1.412 - time_get<wchar_t, const wchar_t*>::id._M_index = 36;
1.413 - time_put<wchar_t, ostreambuf_iterator<wchar_t, char_traits<wchar_t> > >::id._M_index = 37;
1.414 - time_put<wchar_t, wchar_t*>::id._M_index = 38;
1.415 -#endif //__SYMBIAN32__
1.416 -# endif //!_STLP_NO_WCHAR_T
1.417 -
1.418 -}
1.419 -# endif
1.420 -
1.421 _STLP_END_NAMESPACE
1.422
1.423 #if defined (_STLP_EXPOSE_STREAM_IMPLEMENTATION) && !defined (_STLP_LINK_TIME_INSTANTIATION)
1.424 # include <stl/_time_facets.c>
1.425 -# endif
1.426 +#endif
1.427
1.428 #endif /* _STLP_INTERNAL_TIME_FACETS_H */
1.429
1.430 // Local Variables:
1.431 // mode:C++
1.432 // End:
1.433 -
1.434 -