1//
2// SPDX-License-Identifier: BSD-3-Clause
3// Copyright Contributors to the OpenEXR Project.
4//
5
6//
7// 64-bit integer types
8//
9// Deprecated, use int64_t/uint64_t instead.
10//
11
12#ifndef INCLUDED_IMATH_INT64_H
13#define INCLUDED_IMATH_INT64_H
14
15#include "ImathNamespace.h"
16#include <limits.h>
17
18IMATH_INTERNAL_NAMESPACE_HEADER_ENTER
19
20#if (defined _WIN32 || defined _WIN64) && _MSC_VER >= 1300
21/// Int64 - unsigned 64-bit integer
22IMATH_DEPRECATED("use uint64_t")
23typedef unsigned __int64 Int64;
24/// SInt64 - signed 64-bit integer
25IMATH_DEPRECATED("use sint64_t")
26typedef __int64 SInt64;
27#elif ULONG_MAX == 18446744073709551615LU
28/// Int64 - unsigned 64-bit integer
29IMATH_DEPRECATED("use uint64_t")
30typedef long unsigned int Int64;
31/// SInt64 - signed 64-bit integer
32IMATH_DEPRECATED("use sint64_t")
33typedef long int SInt64;
34#else
35/// Int64 - unsigned 64-bit integer
36IMATH_DEPRECATED("use uint64_t")
37typedef long long unsigned int Int64;
38/// SInt64 - signed 64-bit integer
39IMATH_DEPRECATED("use sint64_t")
40typedef long long int SInt64;
41#endif
42
43IMATH_INTERNAL_NAMESPACE_HEADER_EXIT
44
45#endif // INCLUDED_IMATH_INT64_H
46

source code of include/Imath/ImathInt64.h