Changeset b030416 in mainline


Ignore:
Timestamp:
2023-07-14T12:41:10Z (12 months ago)
Author:
Vojtech Horky <vojtech.horky@…>
Branches:
ticket/834-toolchain-update
Children:
c4c90c8
Parents:
851b842
git-author:
Vojtech Horky <vojtech.horky@…> (2023-07-13 19:31:52)
git-committer:
Vojtech Horky <vojtech.horky@…> (2023-07-14 12:41:10)
Message:

Add CONSTEXPR for headers shared by C and C++

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abi/include/_bits/decls.h

    r851b842 rb030416  
    6161#endif  /* __cplusplus */
    6262
     63/*
     64 * __CONSTEXPR for headers shared by C and C++. Headers that are purely for
     65 * C++ sources should use constexpr directly.
     66 */
     67#ifdef __cplusplus
     68#define __CONSTEXPR constexpr
     69#else
     70#define __CONSTEXPR
     71#endif
     72
    6373#endif
    6474
Note: See TracChangeset for help on using the changeset viewer.