aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Edwards <pme@gcc.gnu.org>2000-10-09 00:42:23 +0000
committerPhil Edwards <pme@gcc.gnu.org>2000-10-09 00:42:23 +0000
commit79b425c6d37e8384a8827019b0538abd0df5e84d (patch)
treeb5e98bbcb3a305f9f42528bde58e650a463e41f0
parentaefa45d35ddc22d8ab2a720874854d2c07882027 (diff)
downloadgcc-79b425c6d37e8384a8827019b0538abd0df5e84d.zip
gcc-79b425c6d37e8384a8827019b0538abd0df5e84d.tar.gz
gcc-79b425c6d37e8384a8827019b0538abd0df5e84d.tar.bz2
c++config: Include <bits/os_defines.h>
2000-10-08 Phil Edwards <pme@sources.redhat.com> * include/bits/c++config: Include <bits/os_defines.h> * config/os/aix/bits/os_defines.h: New file. * 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. * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto. From-SVN: r36793
-rw-r--r--libstdc++-v3/ChangeLog13
-rw-r--r--libstdc++-v3/config/os/aix/bits/os_defines.h32
-rw-r--r--libstdc++-v3/config/os/bsd/bits/os_defines.h32
-rw-r--r--libstdc++-v3/config/os/generic/bits/os_defines.h32
-rw-r--r--libstdc++-v3/config/os/gnu-linux/bits/os_defines.h32
-rw-r--r--libstdc++-v3/config/os/irix/bits/os_defines.h32
-rw-r--r--libstdc++-v3/config/os/newlib/bits/os_defines.h32
-rw-r--r--libstdc++-v3/config/os/solaris/solaris2.5/bits/os_defines.h32
-rw-r--r--libstdc++-v3/config/os/solaris/solaris2.6/bits/os_defines.h32
-rw-r--r--libstdc++-v3/config/os/solaris/solaris2.7/bits/os_defines.h36
-rw-r--r--libstdc++-v3/include/bits/c++config3
11 files changed, 308 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 1d51ae6..dd08771 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,16 @@
+2000-10-08 Phil Edwards <pme@sources.redhat.com>
+
+ * include/bits/c++config: Include <bits/os_defines.h>
+ * config/os/aix/bits/os_defines.h: New file.
+ * 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.
+ * config/os/solaris/solaris2.7/bits/os_defines.h: Ditto.
+
2000-10-07 David Edelsohn <dje@watson.ibm.com>
* config/os/aix/bits/atomicity.h: New file.
diff --git a/libstdc++-v3/config/os/aix/bits/os_defines.h b/libstdc++-v3/config/os/aix/bits/os_defines.h
new file mode 100644
index 0000000..6116ac3
--- /dev/null
+++ b/libstdc++-v3/config/os/aix/bits/os_defines.h
@@ -0,0 +1,32 @@
+// Specific definitions for AIX -*- C++ -*-
+
+// Copyright (C) 1997-1999 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.
+
+
+
+
diff --git a/libstdc++-v3/config/os/bsd/bits/os_defines.h b/libstdc++-v3/config/os/bsd/bits/os_defines.h
new file mode 100644
index 0000000..2c20e99
--- /dev/null
+++ b/libstdc++-v3/config/os/bsd/bits/os_defines.h
@@ -0,0 +1,32 @@
+// Specific definitions for BSD -*- C++ -*-
+
+// Copyright (C) 1997-1999 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.
+
+
+
+
diff --git a/libstdc++-v3/config/os/generic/bits/os_defines.h b/libstdc++-v3/config/os/generic/bits/os_defines.h
new file mode 100644
index 0000000..68a16c7
--- /dev/null
+++ b/libstdc++-v3/config/os/generic/bits/os_defines.h
@@ -0,0 +1,32 @@
+// Specific definitions for generic platforms -*- C++ -*-
+
+// Copyright (C) 1997-1999 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.
+
+
+
+
diff --git a/libstdc++-v3/config/os/gnu-linux/bits/os_defines.h b/libstdc++-v3/config/os/gnu-linux/bits/os_defines.h
new file mode 100644
index 0000000..5e50445
--- /dev/null
+++ b/libstdc++-v3/config/os/gnu-linux/bits/os_defines.h
@@ -0,0 +1,32 @@
+// Specific definitions for GNU/Linux -*- C++ -*-
+
+// Copyright (C) 1997-1999 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.
+
+
+
+
diff --git a/libstdc++-v3/config/os/irix/bits/os_defines.h b/libstdc++-v3/config/os/irix/bits/os_defines.h
new file mode 100644
index 0000000..991b666
--- /dev/null
+++ b/libstdc++-v3/config/os/irix/bits/os_defines.h
@@ -0,0 +1,32 @@
+// Specific definitions for IRIX -*- C++ -*-
+
+// Copyright (C) 1997-1999 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.
+
+
+
+
diff --git a/libstdc++-v3/config/os/newlib/bits/os_defines.h b/libstdc++-v3/config/os/newlib/bits/os_defines.h
new file mode 100644
index 0000000..97dbfa1
--- /dev/null
+++ b/libstdc++-v3/config/os/newlib/bits/os_defines.h
@@ -0,0 +1,32 @@
+// Specific definitions for newlib -*- C++ -*-
+
+// Copyright (C) 1997-1999 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.
+
+
+
+
diff --git a/libstdc++-v3/config/os/solaris/solaris2.5/bits/os_defines.h b/libstdc++-v3/config/os/solaris/solaris2.5/bits/os_defines.h
new file mode 100644
index 0000000..7ab1fe5
--- /dev/null
+++ b/libstdc++-v3/config/os/solaris/solaris2.5/bits/os_defines.h
@@ -0,0 +1,32 @@
+// Specific definitions for Solaris 2.5 -*- C++ -*-
+
+// Copyright (C) 1997-1999 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.
+
+
+
+
diff --git a/libstdc++-v3/config/os/solaris/solaris2.6/bits/os_defines.h b/libstdc++-v3/config/os/solaris/solaris2.6/bits/os_defines.h
new file mode 100644
index 0000000..8e14c18
--- /dev/null
+++ b/libstdc++-v3/config/os/solaris/solaris2.6/bits/os_defines.h
@@ -0,0 +1,32 @@
+// Specific definitions for Solaris 2.6 -*- C++ -*-
+
+// Copyright (C) 1997-1999 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.
+
+
+
+
diff --git a/libstdc++-v3/config/os/solaris/solaris2.7/bits/os_defines.h b/libstdc++-v3/config/os/solaris/solaris2.7/bits/os_defines.h
new file mode 100644
index 0000000..9eaaafb
--- /dev/null
+++ b/libstdc++-v3/config/os/solaris/solaris2.7/bits/os_defines.h
@@ -0,0 +1,36 @@
+// Specific definitions for Solaris 7,8 -*- C++ -*-
+
+// Copyright (C) 1997-1999 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 __P
+# define __P(p) p
+# define __PMT(p) p
+#endif
+
+
diff --git a/libstdc++-v3/include/bits/c++config b/libstdc++-v3/include/bits/c++config
index 0766735..e8d7d69 100644
--- a/libstdc++-v3/include/bits/c++config
+++ b/libstdc++-v3/include/bits/c++config
@@ -30,6 +30,9 @@
#ifndef _CPP_CPPCONFIG
#define _CPP_CPPCONFIG 1
+// Pick up any OS-specific definitions.
+#include <bits/os_defines.h>
+
// The current version of the C++ library in compressed ISO date format.
#define __GLIBCPP__ 20000911