xref: /llvm-project/libc/include/llvm-libc-types/char32_t.h (revision cd7a7a56fc73c73855036f77a4f69ea90c75c27a)
1 //===-- Definition of char32_t type ---------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_LIBC_TYPES_CHAR32_T_H
10 #define LLVM_LIBC_TYPES_CHAR32_T_H
11 
12 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
13 #include "../llvm-libc-macros/stdint-macros.h"
14 typedef uint_least32_t char32_t;
15 #endif
16 
17 #endif // LLVM_LIBC_TYPES_CHAR32_T_H
18