Changeset 78f0422c in mainline for abi/include/_bits/decls.h


Ignore:
Timestamp:
2023-10-22T17:27:09Z (17 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
133461c
Parents:
71b4444 (diff), dfb16c4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge C/C++ changes needed to build with newer GCC

File:
1 edited

Legend:

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

    r71b4444 r78f0422c  
    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.