summaryrefslogtreecommitdiff
path: root/libstdc++-v3/config
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-09 06:49:13 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-09 06:49:13 +0000
commit6bb18279be2dd09668805c9709ad5c0c98101346 (patch)
treecb7004dc371071fb7172ff76001cb2bec65ca4e4 /libstdc++-v3/config
parent040d0b6733a4d2ea0f9e133cd690d943a884bfdf (diff)
downloadgcc-6bb18279be2dd09668805c9709ad5c0c98101346.tar.gz
2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc, fgetws. * aclocal.m4: Regenerate. * configure: Regenerate. * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc injection, guard fgetwc, fgetws. * include/c_std/bits/std_cstdio.h: Remove superfluous includes. * include/c_std/bits/std_clocale.h: And here. * include/c_std/bits/std_cctype.h: And here. * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection. * config/basic_file_stdio.h: Don't include unistd.h. * config/c_io_stdio.h: Don't use compatibility headers. * libsupc++/eh_terminate.cc: Qualify abort. (__terminate): And here. * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43070 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r--libstdc++-v3/config/basic_file_stdio.h2
-rw-r--r--libstdc++-v3/config/c_io_stdio.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/libstdc++-v3/config/basic_file_stdio.h b/libstdc++-v3/config/basic_file_stdio.h
index 920a7d36ccf..565bfea4d40 100644
--- a/libstdc++-v3/config/basic_file_stdio.h
+++ b/libstdc++-v3/config/basic_file_stdio.h
@@ -31,8 +31,6 @@
// ISO C++ 14882: 27.8 File-based streams
//
-#include <unistd.h>
-
namespace std
{
// Generic definitions for __basic_file
diff --git a/libstdc++-v3/config/c_io_stdio.h b/libstdc++-v3/config/c_io_stdio.h
index 264e705d130..f24f6a88231 100644
--- a/libstdc++-v3/config/c_io_stdio.h
+++ b/libstdc++-v3/config/c_io_stdio.h
@@ -32,8 +32,8 @@
#ifndef _CPP_IO_STDIO_H
#define _CPP_IO_STDIO_H 1
-#include <stdio.h>
-#include <stddef.h>
+#include <cstdio>
+#include <cstddef>
#include <bits/gthr.h>
namespace std