Changeset f0378c6 in mainline


Ignore:
Timestamp:
2023-10-22T17:26:17Z (14 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d5409da
Parents:
dcef1127
git-author:
Vojtech Horky <vojtech.horky@…> (2023-07-13 19:31:52)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2023-10-22 17:26:17)
Message:

Add CONSTEXPR for headers shared by C and C++

File:
1 edited

Legend:

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

    rdcef1127 rf0378c6  
    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.