25#ifndef MY_INTTYPES_INCLUDED
26#define MY_INTTYPES_INCLUDED
37#ifndef MYSQL_ABI_CHECK
43#if defined(_WIN32) && !defined(MYSQL_ABI_CHECK)
45typedef unsigned int uint;
46typedef unsigned short ushort;
48#if !defined(HAVE_ULONG) && !defined(MYSQL_ABI_CHECK)
49typedef unsigned long ulong;
73#define MY_FILEPOS_ERROR (~(my_off_t)0)
75#define INT_MIN64 (~0x7FFFFFFFFFFFFFFFLL)
76#define INT_MAX64 0x7FFFFFFFFFFFFFFFLL
77#define INT_MIN32 (~0x7FFFFFFFL)
78#define INT_MAX32 0x7FFFFFFFL
79#define UINT_MAX32 0xFFFFFFFFL
80#define INT_MIN24 (~0x007FFFFF)
81#define INT_MAX24 0x007FFFFF
82#define UINT_MAX24 0x00FFFFFF
83#define INT_MIN16 (~0x7FFF)
84#define INT_MAX16 0x7FFF
85#define UINT_MAX16 0xFFFF
86#define INT_MIN8 (~0x7F)
91#define SIZE_T_MAX (~((size_t)0))
97#define MYF(v) (myf)(v)
100#define MY_INT32_NUM_DECIMAL_DIGITS 11U
103#define MY_INT64_NUM_DECIMAL_DIGITS 21U
105#if defined(_WIN32) && !defined(MYSQL_ABI_CHECK)
106#ifndef SSIZE_T_DEFINED
108#define SSIZE_T_DEFINED 1
109typedef SSIZE_T ssize_t;
117#if defined(_WIN32) && !defined(MYSQL_ABI_CHECK)
int myf
Definition: my_inttypes.h:94
unsigned long long int ulonglong
Definition: my_inttypes.h:56
uint8_t uint8
Definition: my_inttypes.h:63
ulonglong my_off_t
Definition: my_inttypes.h:72
unsigned char uchar
Definition: my_inttypes.h:52
intptr_t intptr
Definition: my_inttypes.h:70
int64_t int64
Definition: my_inttypes.h:68
long long int longlong
Definition: my_inttypes.h:55
int16_t int16
Definition: my_inttypes.h:64
int8_t int8
Definition: my_inttypes.h:62
int32_t int32
Definition: my_inttypes.h:66
uint64_t uint64
Definition: my_inttypes.h:69
uint16_t uint16
Definition: my_inttypes.h:65
uint32_t uint32
Definition: my_inttypes.h:67