Ignore:
Timestamp:
2018-07-05T21:41:24Z (7 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2e53e83d
Parents:
fc15120
git-author:
Dzejrou <dzejrou@…> (2018-05-16 18:35:17)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:24)
Message:

cpp: changed internal to bits to avoid include space pollusion, fixed old std::hel:: bugs in files that weren't touched since

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/__bits/trycatch.hpp

    rfc15120 r7bbf91e  
    2727 */
    2828
    29 #ifndef LIBCPP_INTERNAL_TRYCATCH
    30 #define LIBCPP_INTERNAL_TRYCATCH
     29#ifndef LIBCPP_BITS_TRYCATCH
     30#define LIBCPP_BITS_TRYCATCH
    3131
    3232// TODO: This header should be included in every libcpp header.
     
    4545#if LIBCPP_EXCEPTIONS_SUPPORTED == 0
    4646
     47/**
     48 * In case the file where our macros get expanded
     49 * does not include cstdlib.
     50 */
     51extern "C" void abort(void) __attribute__((noreturn));
     52extern "C" int printf(const char*, ...);
     53
    4754namespace std
    4855{
    49     /**
    50      * In case the file where our macros get expanded
    51      * does not include cstdlib.
    52      */
    53     extern "C" void abort(void) __attribute__((noreturn));
    54     extern "C" int printf(const char*, ...);
    55 
    5656    namespace aux
    5757    {
Note: See TracChangeset for help on using the changeset viewer.