summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/libsupc++
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-14 22:16:06 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-14 22:16:06 +0000
commit77889857109e755a8a6868f8e3f74dc46ba74686 (patch)
treeacdd6c6813776c94011cfa1c90e57ba79d7fd8e6 /libstdc++-v3/libsupc++
parentb717e1619365c61b87f5e3ebe26f58676263fc57 (diff)
downloadppe42-gcc-77889857109e755a8a6868f8e3f74dc46ba74686.tar.gz
ppe42-gcc-77889857109e755a8a6868f8e3f74dc46ba74686.zip
2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
* include/stdc++.h: New. * libsupc++/exception_defines.h (__EXCEPTION_DEFINES_H): Add guard. * include/Makefile.am (stamp-std-precompile): Generate stdc++.h.gch * include/Makefile.in: Regenerate. * testsuite_flags.in (--build-cxx): Add, but don't use PCHFLAGS. (--cxxflags): Put -g -O2 here. * testsuite/libstdc++-v3.dg/dg.exp: Remove -g -O2 here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64374 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/libsupc++')
-rw-r--r--libstdc++-v3/libsupc++/exception_defines.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/libsupc++/exception_defines.h b/libstdc++-v3/libsupc++/exception_defines.h
index fca2d835f41..1178f224527 100644
--- a/libstdc++-v3/libsupc++/exception_defines.h
+++ b/libstdc++-v3/libsupc++/exception_defines.h
@@ -1,6 +1,6 @@
// -fno-exceptions Support -*- C++ -*-
-// Copyright (C) 2001 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2003 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
@@ -31,6 +31,9 @@
// ISO C++ 14882: 19.1 Exception classes
//
+#ifndef __EXCEPTION_DEFINES_H
+#define __EXCEPTION_DEFINES_H 1
+
#ifndef __EXCEPTIONS
// Iff -fno-exceptions, transform error handling code to work without it.
# define try if (true)
@@ -40,3 +43,5 @@
// Else proceed normally.
# define __throw_exception_again throw
#endif
+
+#endif
OpenPOWER on IntegriCloud