8b8ab21caf
2000-10-24 Phil Edwards <pme@sources.redhat.com> * acconfig.h: List _GLIBCPP_USE_THREADS. * acinclude.m4: General formatting cleanup (tabs/spaces), typo correction, etc. Add comments about following *real* changes where they are used. (GLIBCPP_ENABLE_C_MBCHAR): New test... (GLIBCPP_CHECK_WCHAR_T_SUPPORT): ...results used here. (GLIBCPP_ENABLE_CSTDIO): Define need_wlibio iff wide characters are requested. (GLIBCPP_ENABLE_THREADS): If threads are used, define new macro _GLIBCPP_USE_THREADS in c++config.h. (GLIBCPP_ENABLE_SHADOW): For C_INCLUDE_DIR, change () to {} as this is used in both makefiles and shell scripts (mkcheck). * configure.in: Call GLIBCPP_ENABLE_C_MBCHAR. * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS. * config/c_io_libio.h: In nonthreaded case, typedef __c_lock to something harmless, like int. * config/os/aix/bits/os_defines.h: Guard with _GLIBCPP_OS_DEFINES, add comment/instructions. * config/os/bsd/bits/os_defines.h: Ditto. * config/os/generic/bits/os_defines.h: Ditto. * config/os/gnu-linux/bits/os_defines.h: Ditto. * config/os/irix/bits/os_defines.h: Ditto. * config/os/newlib/bits/os_defines.h: Ditto. * config/os/solaris/solaris2.5/bits/os_defines.h: Ditto. * config/os/solaris/solaris2.6/bits/os_defines.h: Ditto. * mkcheck.in: Limit the available heap size for testsuite binaries, initially at 2MB. From-SVN: r37050
42 lines
1.6 KiB
C++
42 lines
1.6 KiB
C++
// Specific definitions for newlib -*- C++ -*-
|
|
|
|
// Copyright (C) 2000 Free Software Foundation, Inc.
|
|
//
|
|
// This file is part of the GNU ISO C++ Library. This library is free
|
|
// software; you can redistribute it and/or modify it under the
|
|
// terms of the GNU General Public License as published by the
|
|
// Free Software Foundation; either version 2, or (at your option)
|
|
// any later version.
|
|
|
|
// This library is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
|
|
// You should have received a copy of the GNU General Public License along
|
|
// with this library; see the file COPYING. If not, write to the Free
|
|
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
|
// USA.
|
|
|
|
// As a special exception, you may use this file as part of a free software
|
|
// library without restriction. Specifically, if other files instantiate
|
|
// templates or use macros or inline functions from this file, or you compile
|
|
// this file and link it with other files to produce an executable, this
|
|
// file does not by itself cause the resulting executable to be covered by
|
|
// the GNU General Public License. This exception does not however
|
|
// invalidate any other reasons why the executable file might be covered by
|
|
// the GNU General Public License.
|
|
|
|
|
|
#ifndef _GLIBCPP_OS_DEFINES
|
|
# define _GLIBCPP_OS_DEFINES
|
|
|
|
|
|
/* System-specific #define, typedefs, corrections, etc, go here. This
|
|
file will come before all others. */
|
|
|
|
|
|
#endif
|
|
|
|
|