Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
IntegerTypes.h
Go to the documentation of this file.
1 #ifndef QPID_SYS_WINDOWS_INTEGERTYPES_H
2 #define QPID_SYS_WINDOWS_INTEGERTYPES_H
3 
4 /*
5  * Licensed to the Apache Software Foundation (ASF) under one
6  * or more contributor license agreements. See the NOTICE file
7  * distributed with this work for additional information
8  * regarding copyright ownership. The ASF licenses this file
9  * to you under the Apache License, Version 2.0 (the
10  * "License"); you may not use this file except in compliance
11  * with the License. You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing,
16  * software distributed under the License is distributed on an
17  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18  * KIND, either express or implied. See the License for the
19  * specific language governing permissions and limitations
20  * under the License.
21  *
22  */
23 
24 #if _MSC_VER < 1800
25 #include <stdlib.h>
26 #define strtoull _strtoui64
27 #include <limits.h>
28 #endif
29 #if _MSC_VER < 1600
30 typedef unsigned char uint8_t;
31 typedef signed char int8_t;
32 typedef unsigned short uint16_t;
33 typedef short int16_t;
34 typedef unsigned int uint32_t;
35 typedef int int32_t;
36 typedef unsigned __int64 uint64_t;
37 typedef __int64 int64_t;
38 #define INT64_MAX _I64_MAX
39 #define INT64_MIN _I64_MIN
40 #else
41 #include <stdint.h>
42 #endif
43 
44 // Visual Studio doesn't define other common types, so set them up here too.
45 typedef unsigned int uint;
46 
47 #endif
uint64_t
unsigned __int64 uint64_t
Definition: IntegerTypes.h:36
int8_t
signed char int8_t
Definition: IntegerTypes.h:31
int32_t
int int32_t
Definition: IntegerTypes.h:35
uint16_t
unsigned short uint16_t
Definition: IntegerTypes.h:32
uint8_t
unsigned char uint8_t
Definition: IntegerTypes.h:30
uint
unsigned int uint
Definition: IntegerTypes.h:45
int16_t
short int16_t
Definition: IntegerTypes.h:33
uint32_t
unsigned int uint32_t
Definition: IntegerTypes.h:34
int64_t
__int64 int64_t
Definition: IntegerTypes.h:37

Qpid C++ API Reference
Generated on Sat Sep 11 2021 for Qpid C++ Client API by doxygen 1.8.17