diff options
| author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-22 00:27:01 +0000 |
|---|---|---|
| committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-22 00:27:01 +0000 |
| commit | 07428be53cf9474dc9ae730f14507255c99eb8da (patch) | |
| tree | cec738754aa77485007fa794218db3040789c01c /libstdc++-v3/include/c_std/bits/std_cstddef.h | |
| parent | 60488bad0b2b87498d79d26e31dc9458a8adb01f (diff) | |
| download | ppe42-gcc-07428be53cf9474dc9ae730f14507255c99eb8da.tar.gz ppe42-gcc-07428be53cf9474dc9ae730f14507255c99eb8da.zip | |
2000-12-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38440 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/c_std/bits/std_cstddef.h')
| -rw-r--r-- | libstdc++-v3/include/c_std/bits/std_cstddef.h | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/libstdc++-v3/include/c_std/bits/std_cstddef.h b/libstdc++-v3/include/c_std/bits/std_cstddef.h index 588566499b3..184a533cfe3 100644 --- a/libstdc++-v3/include/c_std/bits/std_cstddef.h +++ b/libstdc++-v3/include/c_std/bits/std_cstddef.h @@ -1,4 +1,4 @@ -// -*- C++ -*- header wrapper. +// -*- C++ -*- forwarding header. // Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // @@ -31,29 +31,18 @@ // ISO C++ 14882: 18.1 Types // +// Note: This is not a conforming implementation. + #ifndef _CPP_CSTDDEF #define _CPP_CSTDDEF 1 -namespace _C_legacy { - extern "C" { -# define _IN_C_LEGACY_ -# pragma GCC system_header -// XXX -# define __need_size_t -# define __need_ptrdiff_t -# define __need_NULL -# include_next <stddef.h> - } -} // namespace _C_legacy - -# undef ptrdiff_t -# undef size_t - -namespace std { - using _C_legacy::ptrdiff_t; - using _C_legacy::size_t; -} // namespace std - -# undef _IN_C_LEGACY_ +#pragma GCC system_header +#include <stddef.h> + +namespace std +{ + using ::ptrdiff_t; + using ::size_t; +} #endif |

