diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-20 08:30:01 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-20 08:30:01 +0000 |
commit | 88825d882818d439e1fcc53095749b1fb839573a (patch) | |
tree | 2a5dcdc28c5a07e9a96570184d62aa77b9a7b0f0 /libstdc++-v3/config.h.in | |
parent | c6d7113cdcd4eaf0b3cbdd0a3b949c3d51361052 (diff) |
2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
Implement std::time_put.
* include/bits/locale_facets.h: Include time_members.h.
(__timepunct): New.
(time_put): Implement.
* include/bits/locale_facets.tcc (do_put): Put generic versions here.
* include/bits/localefwd.h: Bump number of facets.
* config/locale/time_members_generic.h: New file.
* config/locale/time_members_gnu.h: New file.
* config/locale/c_locale_generic.h: Include clocale.
* src/locale-inst.cc: Add use_facet instantiations for __timepunct.
* src/locale.cc: Add __timepunct initializations.
* src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
* include/Makefile.am (stamp-target): Add time_members.h.
* include/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/22_locale/time_put.cc: New file.
* testsuite/22_locale/time_put_members_char.cc: New file.
* docs/html/22_locale/locale.html: Add note.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45702 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/config.h.in')
-rw-r--r-- | libstdc++-v3/config.h.in | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in index ee0dee83db3..f69f318f7f3 100644 --- a/libstdc++-v3/config.h.in +++ b/libstdc++-v3/config.h.in @@ -3,9 +3,6 @@ /* Define if you have a working `mmap' system call. */ #undef HAVE_MMAP -/* Define if you need to in order for stat and other things to work. */ -#undef _POSIX_SOURCE - // Define if GCC supports weak symbols #undef _GLIBCPP_SUPPORTS_WEAK @@ -693,6 +690,9 @@ /* Define if you have the <nan.h> header file. */ #undef HAVE_NAN_H +/* Define if you have the <stdlib.h> header file. */ +#undef HAVE_STDLIB_H + /* Define if you have the <sys/isa_defs.h> header file. */ #undef HAVE_SYS_ISA_DEFS_H @@ -702,6 +702,9 @@ /* Define if you have the <sys/resource.h> header file. */ #undef HAVE_SYS_RESOURCE_H +/* Define if you have the <sys/stat.h> header file. */ +#undef HAVE_SYS_STAT_H + /* Define if you have the <sys/types.h> header file. */ #undef HAVE_SYS_TYPES_H |