| // © 2016 and later: Unicode, Inc. and others. |
| // License & terms of use: http://www.unicode.org/copyright.html |
| /* |
| ****************************************************************************** |
| * |
| * Copyright (C) 1997-2012, International Business Machines |
| * Corporation and others. All Rights Reserved. |
| * |
| ****************************************************************************** |
| * |
| * FILE NAME : ptypes.h |
| * |
| * Date Name Description |
| * 05/13/98 nos Creation (content moved here from ptypes.h). |
| * 03/02/99 stephen Added AS400 support. |
| * 03/30/99 stephen Added Linux support. |
| * 04/13/99 stephen Reworked for autoconf. |
| * 09/18/08 srl Moved basic types back to ptypes.h from platform.h |
| ****************************************************************************** |
| */ |
| |
| /** |
| * \file |
| * \brief C API: Definitions of integer types of various widths |
| */ |
| |
| #ifndef _PTYPES_H |
| #define _PTYPES_H |
| |
| /** |
| * \def __STDC_LIMIT_MACROS |
| * According to the Linux stdint.h, the ISO C99 standard specifies that in C++ implementations |
| * macros like INT32_MIN and UINTPTR_MAX should only be defined if explicitly requested. |
| * We need to define __STDC_LIMIT_MACROS before including stdint.h in C++ code |
| * that uses such limit macros. |
| * @internal |
| */ |
| #ifndef __STDC_LIMIT_MACROS |
| #define __STDC_LIMIT_MACROS |
| #endif |
| |
| /* NULL, size_t, wchar_t */ |
| #include <stddef.h> |
| |
| /* More platform-specific definitions. */ |
| #include "unicode/platform.h" |
| |
| /*===========================================================================*/ |
| /* Generic data types */ |
| /*===========================================================================*/ |
| |
| #include <stdint.h> |
| |
| #endif /* _PTYPES_H */ |