mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
34 lines
962 B
C
34 lines
962 B
C
|
/***********************************************************************/
|
||
|
/* Definitions needed by the included files. */
|
||
|
/***********************************************************************/
|
||
|
#if !defined(MY_GLOBAL_H)
|
||
|
#define MY_GLOBAL_H
|
||
|
typedef unsigned int uint;
|
||
|
typedef unsigned int uint32;
|
||
|
typedef unsigned short ushort;
|
||
|
typedef unsigned long ulong;
|
||
|
typedef unsigned long DWORD;
|
||
|
typedef char *LPSTR;
|
||
|
typedef const char *LPCSTR;
|
||
|
typedef int BOOL;
|
||
|
#if defined(_WINDOWS)
|
||
|
typedef void *HANDLE;
|
||
|
#else
|
||
|
typedef int HANDLE;
|
||
|
#endif
|
||
|
typedef char *PSZ;
|
||
|
typedef const char *PCSZ;
|
||
|
typedef unsigned char BYTE;
|
||
|
typedef unsigned char uchar;
|
||
|
typedef long long longlong;
|
||
|
typedef unsigned long long ulonglong;
|
||
|
typedef char my_bool;
|
||
|
struct charset_info_st {};
|
||
|
typedef const charset_info_st CHARSET_INFO;
|
||
|
#define FALSE 0
|
||
|
#define TRUE 1
|
||
|
#define Item char
|
||
|
#define MY_MAX(a,b) ((a>b)?(a):(b))
|
||
|
#define MY_MIN(a,b) ((a<b)?(a):(b))
|
||
|
#endif // MY_GLOBAL_H
|