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


Ignore:
Timestamp:
2023-10-22T17:27:09Z (16 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/uchar.h

    r71b4444 r78f0422c  
    3838#include <stdint.h>
    3939
     40/*
     41 * char8_t became part of C++ with C++20.
     42 * It is part of C23 hence we define it for C compilations only.
     43 */
     44#ifndef __cplusplus
    4045typedef uint8_t char8_t;
     46#endif
     47
    4148typedef uint32_t char32_t;
    4249
Note: See TracChangeset for help on using the changeset viewer.