HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
inttypes.h
Go to the documentation of this file.
1 //
2 // Copyright 2016 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 //
7 #ifndef PXR_BASE_ARCH_INTTYPES_H
8 #define PXR_BASE_ARCH_INTTYPES_H
9 
10 /// \file arch/inttypes.h
11 /// \ingroup group_arch_Bits
12 /// Define integral types.
13 ///
14 /// By including this file, the "standard" integer types \c int16_t,
15 /// \c int32_t, and \c int64_t are all defined, as are their unsigned
16 /// counterparts \c uint16_t, \c uint32_t, and \c uint64_t. This also
17 /// includes the macros for limits, constants, and printf format specifiers.
18 
19 // These defines should in theory not be needed to get the related sized-int
20 // macros, as this was not adopted by the C++ committee and was dropped by the C
21 // committee, but glibc erroneously "respects" them so we need to have them.
22 #ifndef __STDC_LIMIT_MACROS
23 #define __STDC_LIMIT_MACROS
24 #endif
25 #ifndef __STDC_CONSTANT_MACROS
26 #define __STDC_CONSTANT_MACROS
27 #endif
28 #ifndef __STDC_FORMAT_MACROS
29 #define __STDC_FORMAT_MACROS
30 #endif
31 
32 #include <cinttypes>
33 #include <cstdint>
34 
35 #include "pxr/pxr.h"
36 #include "pxr/base/arch/defines.h"
37 #include <sys/types.h>
38 
40 
41 typedef unsigned char uchar;
42 
44 
45 #endif // PXR_BASE_ARCH_INTTYPES_H
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
PXR_NAMESPACE_OPEN_SCOPE typedef unsigned char uchar
Definition: inttypes.h:41