| // Copyright 2016 The Fuchsia Authors |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| #pragma once |
| |
| typedef __UINT8_TYPE__ uint8_t; |
| typedef __UINT16_TYPE__ uint16_t; |
| typedef __UINT32_TYPE__ uint32_t; |
| typedef __UINT64_TYPE__ uint64_t; |
| |
| typedef __INT8_TYPE__ int8_t; |
| typedef __INT16_TYPE__ int16_t; |
| typedef __INT32_TYPE__ int32_t; |
| typedef __INT64_TYPE__ int64_t; |
| |
| typedef __INTMAX_TYPE__ intmax_t; |
| |
| typedef __UINTMAX_TYPE__ uintmax_t; |
| typedef __UINTPTR_TYPE__ uintptr_t; |
| typedef __PTRDIFF_TYPE__ ptrdiff_t; |
| |
| typedef __SIZE_TYPE__ size_t; |
| |
| typedef unsigned int uint; |
| |
| #define INT_MAX (__INT_MAX__) |
| |
| typedef int bool; |
| typedef int ssize_t; |
| |
| #define false (0) |
| #define true (1) |