stdint.hpp
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MPL-2.0 */
2 
3 #ifndef __ZMQ_STDINT_HPP_INCLUDED__
4 #define __ZMQ_STDINT_HPP_INCLUDED__
5 
6 #if defined ZMQ_HAVE_SOLARIS || defined ZMQ_HAVE_OPENVMS
7 
8 #include <inttypes.h>
9 
10 #elif defined _MSC_VER && _MSC_VER < 1600
11 
12 #ifndef int8_t
13 typedef __int8 int8_t;
14 #endif
15 #ifndef int16_t
16 typedef __int16 int16_t;
17 #endif
18 #ifndef int32_t
19 typedef __int32 int32_t;
20 #endif
21 #ifndef int64_t
22 typedef __int64 int64_t;
23 #endif
24 #ifndef uint8_t
25 typedef unsigned __int8 uint8_t;
26 #endif
27 #ifndef uint16_t
28 typedef unsigned __int16 uint16_t;
29 #endif
30 #ifndef uint32_t
31 typedef unsigned __int32 uint32_t;
32 #endif
33 #ifndef uint64_t
34 typedef unsigned __int64 uint64_t;
35 #endif
36 #ifndef UINT16_MAX
37 #define UINT16_MAX _UI16_MAX
38 #endif
39 #ifndef UINT32_MAX
40 #define UINT32_MAX _UI32_MAX
41 #endif
42 
43 #else
44 
45 #include <stdint.h>
46 
47 #endif
48 
49 #ifndef UINT8_MAX
50 #define UINT8_MAX 0xFF
51 #endif
52 
53 #endif


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:59