diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2007-02-02 14:49:52 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2007-02-02 14:49:52 +0000 |
commit | 311635d10343023d65e97d2fbb31a93e4b40090d (patch) | |
tree | 18a7f65f89a16ae8d7d5f3c7fdd07aaa8bdce195 /libstdc++-v3/config/cpu | |
parent | d4feb3d31ab828db75f8d9848cd833de964a75a6 (diff) | |
download | gcc-311635d10343023d65e97d2fbb31a93e4b40090d.zip gcc-311635d10343023d65e97d2fbb31a93e4b40090d.tar.gz gcc-311635d10343023d65e97d2fbb31a93e4b40090d.tar.bz2 |
c++config: Consistent macro guards for config includes.
2007-02-02 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/c++config: Consistent macro guards for config includes.
* config/locale/gnu/c_locale.h: Same.
* config/locale/generic/c_locale.h: Same.
* config/allocator/mt_allocator_base.h: Same.
* config/allocator/malloc_allocator_base.h: Same.
* config/allocator/new_allocator_base.h: Same.
* config/allocator/pool_allocator_base.h: Same.
* config/allocator/bitmap_allocator_base.h: Same.
* config/os/vxworks/os_defines.h: Same.
* config/cpu/sh/atomicity.h: Same.
* config/io/c_io_stdio.h: Same.
* config/io/basic_file_stdio.h: Same.
From-SVN: r121502
Diffstat (limited to 'libstdc++-v3/config/cpu')
-rw-r--r-- | libstdc++-v3/config/cpu/sh/atomicity.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libstdc++-v3/config/cpu/sh/atomicity.h b/libstdc++-v3/config/cpu/sh/atomicity.h index d200818..f4bfb12 100644 --- a/libstdc++-v3/config/cpu/sh/atomicity.h +++ b/libstdc++-v3/config/cpu/sh/atomicity.h @@ -28,11 +28,11 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. -#ifndef _BITS_ATOMICITY_H -#define _BITS_ATOMICITY_H 1 - #ifdef __SH4A__ +#ifndef _GLIBCXX_ATOMICITY_H +#define _GLIBCXX_ATOMICITY_H 1 + typedef int _Atomic_word; static inline _Atomic_word @@ -70,6 +70,8 @@ __atomic_add (volatile _Atomic_word* __mem, int __val) : "r0"); } +#endif + #else /* !__SH4A__ */ /* This is generic/atomicity.h */ @@ -103,5 +105,3 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) _GLIBCXX_END_NAMESPACE #endif /* !__SH4A__ */ - -#endif /* atomicity.h */ |