This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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
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
39PXR_NAMESPACE_OPEN_SCOPE
40
41typedef unsigned char uchar;
42
43PXR_NAMESPACE_CLOSE_SCOPE
44
45#endif // PXR_BASE_ARCH_INTTYPES_H