diff options
author | Phil Edwards <phil@codesourcery.com> | 2003-09-02 18:46:54 +0000 |
---|---|---|
committer | Phil Edwards <pme@gcc.gnu.org> | 2003-09-02 18:46:54 +0000 |
commit | 3660e02f0d9bedca08e7f562edf861027bb70950 (patch) | |
tree | 6b410b5f9b983f63fb719aae0356a28474f0f73c /libstdc++-v3/config.h.in | |
parent | 742c0a4ee18fc5d913c4384e3e55f2c95c3e7fe6 (diff) | |
download | gcc-3660e02f0d9bedca08e7f562edf861027bb70950.zip gcc-3660e02f0d9bedca08e7f562edf861027bb70950.tar.gz gcc-3660e02f0d9bedca08e7f562edf861027bb70950.tar.bz2 |
acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED appropriately.
2003-09-02 Phil Edwards <phil@codesourcery.com>
* acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED
appropriately.
* config.h.in: Add _GLIBCXX_HOSTED.
* libsupc++/eh_term_handler.cc: Test it here; initialize
__terminate_handler to std::abort if freestanding.
* aclocal.m4, configure: Regenerated.
* docs/html/configopts.html: Document --disable-hosted-libstdcxx.
From-SVN: r71001
Diffstat (limited to 'libstdc++-v3/config.h.in')
-rw-r--r-- | libstdc++-v3/config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in index d61a584..0e6bb08 100644 --- a/libstdc++-v3/config.h.in +++ b/libstdc++-v3/config.h.in @@ -878,6 +878,9 @@ /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS +/* Define to 1 if a full hosted library is built, or 0 if freestanding. */ +#undef _GLIBCXX_HOSTED + /* Define if the compiler is configured for setjmp/longjmp exceptions. */ #undef _GLIBCXX_SJLJ_EXCEPTIONS // |