Commit 0d9a68e8 by Nathan C. Myers Committed by Benjamin Kosnik

generic_shadow.h: s/swamp/legacy/


2000-05-19   Nathan C. Myers  <ncm@cantrip.org>

      	* bits/generic_shadow.h: s/swamp/legacy/

From-SVN: r34080
parent 1f046771
2000-05-19 Nathan C. Myers <ncm@cantrip.org>
* bits/generic_shadow.h: s/swamp/legacy/
2000-05-19 Phil Edwards <pme@sourceware.cygnus.com> 2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
* acinclude.m4: Clean up comments on newer checks. * acinclude.m4: Clean up comments on newer checks.
......
// generic C header shadow file -*- C++ -*- // generic C header shadow file -*- C++ -*-
// Copyright (C) 1997-1999 Free Software Foundation, Inc. // Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // 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 // software; you can redistribute it and/or modify it under the
...@@ -30,28 +30,28 @@ ...@@ -30,28 +30,28 @@
// This file is included by all the standard C <foo.h> headers // This file is included by all the standard C <foo.h> headers
// after defining _SHADOW_NAME. // after defining _SHADOW_NAME.
#ifdef _IN_C_SWAMP_ /* sub-included by a C header */ #ifdef _IN_C_LEGACY_ /* sub-included by a C header */
// get out of the "swamp" // Get out of the "swamp."
} // close extern "C" } // Close extern "C"
} // close namespace _C_Swamp:: } // Close namespace _C_legacy::
# undef _IN_C_SWAMP_ # undef _IN_C_LEGACY_
# include _SHADOW_NAME # include _SHADOW_NAME
// dive back into the "swamp" // Dive back into the "swamp."
namespace _C_Swamp { namespace _C_legacy {
extern "C" { extern "C" {
# define _IN_C_SWAMP_ # define _IN_C_LEGACY_
#else /* not _IN_C_SWAMP_: directly included by user program */ #else /* not _IN_C_LEGACY_: directly included by user program */
# include _SHADOW_NAME # include _SHADOW_NAME
// expose global C names, including non-standard ones, but shadow // Expose global C names, including non-standard ones, but shadow
// some names and types with the std:: C++ version. // some names and types with the std:: C++ version.
using namespace ::_C_Swamp::_C_Shadow; using namespace ::_C_legacy::_C_Shadow;
#endif /* _IN_C_SWAMP_ */ #endif /* _IN_C_LEGACY_ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment