Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenlib/BLI_sys_types.h
| Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | |||||
| # include <sys/types.h> | # include <sys/types.h> | ||||
| # include <stdint.h> | # include <stdint.h> | ||||
| #endif /* ifdef platform for types */ | #endif /* ifdef platform for types */ | ||||
| #include <stddef.h> /* size_t define */ | #include <stddef.h> /* size_t define */ | ||||
| #include <stdbool.h> | #include <stdbool.h> | ||||
| #ifndef __cplusplus | |||||
| # if defined(__APPLE__) | |||||
| /* The <uchar.h> standard header is missing on macOS. */ | |||||
| typedef unsigned int char32_t; | |||||
| # else | |||||
| # include <uchar.h> | |||||
| # endif | |||||
| #endif | |||||
| typedef unsigned int uint; | typedef unsigned int uint; | ||||
| typedef unsigned short ushort; | typedef unsigned short ushort; | ||||
| typedef unsigned long ulong; | typedef unsigned long ulong; | ||||
| typedef unsigned char uchar; | typedef unsigned char uchar; | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
| #endif /* eof */ | #endif /* eof */ | ||||