CMGDK r49-rc2
宏定义 | 类型定义 | 函数
K:/CMGDKv18/SDK/Source/SQL/MySQL/include/config-win.h文件参考
#include <sys/locking.h>
#include <sys/stat.h>
#include <winsock2.h>
#include <Ws2tcpip.h>
#include <fcntl.h>
#include <io.h>
#include <malloc.h>
#include <process.h>

浏览该文件的源代码。

宏定义

#define BIG_TABLES
#define _WIN32_WINNT   0x0500
#define HAVE_SMEM   1
#define SYSTEM_TYPE   "Windows"
#define MACHINE_TYPE   "unknown"
#define _WIN32
#define __WIN32__
#define __WIN__
#define MAX_INDEXES   64
#define F_RDLCK   _LK_NBLCK
#define F_WRLCK   _LK_NBRLCK
#define F_UNLCK   _LK_UNLCK
#define F_EXCLUSIVE   1
#define F_TO_EOF   (INT_MAX32/2)
#define F_OK   0
#define W_OK   2
#define S_IROTH   S_IREAD
#define IPPROTO_IPV6   41
#define IPV6_V6ONLY   27
#define S_IRWXU   S_IREAD|S_IWRITE
#define S_IRWXG   0
#define S_IRWXO   0
#define O_BINARY   _O_BINARY
#define FILE_BINARY   _O_BINARY
#define O_TEMPORARY   _O_TEMPORARY
#define O_SHORT_LIVED   _O_SHORT_LIVED
#define SH_DENYNO   _SH_DENYNO
#define NO_OPEN_3
#define SIGQUIT   SIGTERM
#define LONGLONG_MIN   0x8000000000000000LL
#define LONGLONG_MAX   0x7FFFFFFFFFFFFFFFLL
#define ULONGLONG_MAX   0xFFFFFFFFFFFFFFFFULL
#define HAVE_UINT
#define longlong_defined
#define _SIZE_T_DEFINED
#define _SSIZE_T_DEFINED
#define Socket_defined
#define my_socket   SOCKET
#define SIGPIPE   SIGINT
#define RETQSORTTYPE   void
#define QSORT_TYPE_IS_VOID
#define SOCKET_SIZE_TYPE   int
#define my_socket_defined
#define byte_defined
#define HUGE_PTR
#define STDCALL   __stdcall
#define isnan(X)   _isnan(X)
#define finite(X)   _finite(X)
#define THREAD
#define VOID_SIGHANDLER
#define SIZEOF_CHAR   1
#define SIZEOF_INT   4
#define SIZEOF_LONG   4
#define SIZEOF_LONG_LONG   8
#define SIZEOF_OFF_T   8
#define SIZEOF_CHARP   4
#define HAVE_BROKEN_NETINET_INCLUDES
#define HAVE_NAMED_PIPE
#define SIGNAL_WITH_VIO_CLOSE
#define USE_SYMDIR
#define ENABLED_LOCAL_INFILE   1
#define ENABLED_PROFILING   1
#define my_sigset(A, B)   signal((A),(B))
#define finite(A)   _finite(A)
#define sleep(A)   Sleep((A)*1000)
#define popen(A, B)   _popen((A),(B))
#define pclose(A)   _pclose(A)
#define access(A, B)   _access(A,B)
#define inline   __inline
#define my_off_t2double(A)   ulonglong2double(A)
#define lseek(A, B, C)   _lseeki64((A),(longlong) (B),(C))
#define tell(A)   _telli64(A)
#define STACK_DIRECTION   -1
#define OFFSET_TO_EPOCH   116444736000000000ULL
#define HAVE_PERROR
#define HAVE_VFPRINT
#define HAVE_RENAME
#define HAVE_BINARY_STREAMS
#define HAVE_LONG_JMP
#define HAVE_LOCKING
#define HAVE_ERRNO_AS_DEFINE
#define HAVE_STDLIB
#define HAVE_MEMCPY
#define HAVE_MEMMOVE
#define HAVE_GETCWD
#define HAVE_TELL
#define HAVE_TZNAME
#define HAVE_PUTENV
#define HAVE_SELECT
#define HAVE_SETLOCALE
#define HAVE_SOCKET
#define HAVE_FLOAT_H
#define HAVE_LIMITS_H
#define HAVE_STDDEF_H
#define NO_FCNTL_NONBLOCK
#define HAVE_ALLOCA
#define HAVE_STRPBRK
#define HAVE_STRSTR
#define HAVE_COMPRESS
#define HAVE_CREATESEMAPHORE
#define HAVE_ISNAN
#define HAVE_FINITE
#define HAVE_QUERY_CACHE
#define SPRINTF_RETURNS_INT
#define HAVE_SETFILEPOINTER
#define HAVE_VIO_READ_BUFF
#define HAVE_WINSOCK2
#define strcasecmp   stricmp
#define strncasecmp   strnicmp
#define my_reinterpret_cast(A)   reinterpret_cast <A>
#define my_const_cast(A)   const_cast<A>
#define DEFAULT_MYSQL_HOME   "c:\\mysql"
#define DATADIR   "c:\\mysql\\data"
#define PACKAGE   "mysql"
#define DEFAULT_BASEDIR   "C:\\"
#define SHAREDIR   "share"
#define DEFAULT_CHARSET_HOME   "C:/mysql/"
#define DEFAULT_HOME_ENV   MYSQL_HOME
#define DEFAULT_GROUP_SUFFIX_ENV   MYSQL_GROUP_SUFFIX
#define FN_LIBCHAR   '\\'
#define FN_ROOTDIR   "\\"
#define FN_DEVCHAR   ':'
#define FN_NETWORK_DRIVES
#define FN_NO_CASE_SENCE
#define OS_FILE_LIMIT   UINT_MAX
#define DO_NOT_REMOVE_THREAD_WRAPPERS
#define thread_safe_increment(V, L)   InterlockedIncrement((long*) &(V))
#define thread_safe_decrement(V, L)   InterlockedDecrement((long*) &(V))
#define thread_safe_add(V, C, L)   InterlockedExchangeAdd((long*) &(V),(C))
#define thread_safe_sub(V, C, L)   InterlockedExchangeAdd((long*) &(V),-(long) (C))
#define shared_memory_buffer_length   16000
#define default_shared_memory_base_name   "MYSQL"
#define HAVE_SPATIAL   1
#define HAVE_RTREE_KEYS   1
#define HAVE_OPENSSL   1
#define HAVE_YASSL   1
#define COMMUNITY_SERVER   1
#define ENABLED_PROFILING   1
#define HAVE_BOOL   1

类型定义

typedef int mode_t
typedef unsigned short ushort
typedef unsigned int uint
typedef unsigned __int64 ulonglong
typedef __int64 longlong
typedef int sigset_t
typedef long off_t
typedef __int64 os_off_t
typedef uint rf_SetTimer
typedef SIZE_T size_t
typedef SSIZE_T ssize_t

函数

double ulonglong2double (ulonglong value)
ulonglong double2ulonglong (double d)

宏定义文档

#define __WIN32__
#define __WIN__
#define _SIZE_T_DEFINED
#define _SSIZE_T_DEFINED
#define _WIN32
#define _WIN32_WINNT   0x0500
#define access (   A,
 
)    _access(A,B)
#define BIG_TABLES
#define byte_defined
#define COMMUNITY_SERVER   1
#define DATADIR   "c:\\mysql\\data"
#define DEFAULT_BASEDIR   "C:\\"
#define DEFAULT_CHARSET_HOME   "C:/mysql/"
#define DEFAULT_GROUP_SUFFIX_ENV   MYSQL_GROUP_SUFFIX
#define DEFAULT_HOME_ENV   MYSQL_HOME
#define DEFAULT_MYSQL_HOME   "c:\\mysql"
#define default_shared_memory_base_name   "MYSQL"
#define DO_NOT_REMOVE_THREAD_WRAPPERS
#define ENABLED_LOCAL_INFILE   1
#define ENABLED_PROFILING   1
#define ENABLED_PROFILING   1
#define F_EXCLUSIVE   1
#define F_OK   0
#define F_RDLCK   _LK_NBLCK
#define F_TO_EOF   (INT_MAX32/2)
#define F_UNLCK   _LK_UNLCK
#define F_WRLCK   _LK_NBRLCK
#define FILE_BINARY   _O_BINARY
#define finite (   A)    _finite(A)
#define finite (   X)    _finite(X)
#define FN_DEVCHAR   ':'
#define FN_LIBCHAR   '\\'
#define FN_NETWORK_DRIVES
#define FN_NO_CASE_SENCE
#define FN_ROOTDIR   "\\"
#define HAVE_ALLOCA
#define HAVE_BINARY_STREAMS
#define HAVE_BOOL   1
#define HAVE_BROKEN_NETINET_INCLUDES
#define HAVE_COMPRESS
#define HAVE_CREATESEMAPHORE
#define HAVE_ERRNO_AS_DEFINE
#define HAVE_FINITE
#define HAVE_FLOAT_H
#define HAVE_GETCWD
#define HAVE_ISNAN
#define HAVE_LIMITS_H
#define HAVE_LOCKING
#define HAVE_LONG_JMP
#define HAVE_MEMCPY
#define HAVE_MEMMOVE
#define HAVE_NAMED_PIPE
#define HAVE_OPENSSL   1
#define HAVE_PERROR
#define HAVE_PUTENV
#define HAVE_QUERY_CACHE
#define HAVE_RENAME
#define HAVE_RTREE_KEYS   1
#define HAVE_SELECT
#define HAVE_SETFILEPOINTER
#define HAVE_SETLOCALE
#define HAVE_SMEM   1
#define HAVE_SOCKET
#define HAVE_SPATIAL   1
#define HAVE_STDDEF_H
#define HAVE_STDLIB
#define HAVE_STRPBRK
#define HAVE_STRSTR
#define HAVE_TELL
#define HAVE_TZNAME
#define HAVE_UINT
#define HAVE_VFPRINT
#define HAVE_VIO_READ_BUFF
#define HAVE_WINSOCK2
#define HAVE_YASSL   1
#define HUGE_PTR
#define inline   __inline
#define IPPROTO_IPV6   41
#define IPV6_V6ONLY   27
#define isnan (   X)    _isnan(X)
#define longlong_defined
#define LONGLONG_MAX   0x7FFFFFFFFFFFFFFFLL
#define LONGLONG_MIN   0x8000000000000000LL
#define lseek (   A,
  B,
 
)    _lseeki64((A),(longlong) (B),(C))
#define MACHINE_TYPE   "unknown"
#define MAX_INDEXES   64
#define my_const_cast (   A)    const_cast<A>
#define my_off_t2double (   A)    ulonglong2double(A)
#define my_reinterpret_cast (   A)    reinterpret_cast <A>
#define my_sigset (   A,
 
)    signal((A),(B))
#define my_socket   SOCKET
#define my_socket_defined
#define NO_FCNTL_NONBLOCK
#define NO_OPEN_3
#define O_BINARY   _O_BINARY
#define O_SHORT_LIVED   _O_SHORT_LIVED
#define O_TEMPORARY   _O_TEMPORARY
#define OFFSET_TO_EPOCH   116444736000000000ULL
#define OS_FILE_LIMIT   UINT_MAX
#define PACKAGE   "mysql"
#define pclose (   A)    _pclose(A)
#define popen (   A,
 
)    _popen((A),(B))
#define QSORT_TYPE_IS_VOID
#define RETQSORTTYPE   void
#define S_IROTH   S_IREAD
#define S_IRWXG   0
#define S_IRWXO   0
#define S_IRWXU   S_IREAD|S_IWRITE
#define SH_DENYNO   _SH_DENYNO
#define shared_memory_buffer_length   16000
#define SHAREDIR   "share"
#define SIGNAL_WITH_VIO_CLOSE
#define SIGPIPE   SIGINT
#define SIGQUIT   SIGTERM
#define SIZEOF_CHAR   1
#define SIZEOF_CHARP   4
#define SIZEOF_INT   4
#define SIZEOF_LONG   4
#define SIZEOF_LONG_LONG   8
#define SIZEOF_OFF_T   8
#define sleep (   A)    Sleep((A)*1000)
#define Socket_defined
#define SOCKET_SIZE_TYPE   int
#define SPRINTF_RETURNS_INT
#define STACK_DIRECTION   -1
#define STDCALL   __stdcall
#define strcasecmp   stricmp
#define strncasecmp   strnicmp
#define SYSTEM_TYPE   "Windows"
#define tell (   A)    _telli64(A)
#define THREAD
#define thread_safe_add (   V,
  C,
 
)    InterlockedExchangeAdd((long*) &(V),(C))
#define thread_safe_decrement (   V,
 
)    InterlockedDecrement((long*) &(V))
#define thread_safe_increment (   V,
 
)    InterlockedIncrement((long*) &(V))
#define thread_safe_sub (   V,
  C,
 
)    InterlockedExchangeAdd((long*) &(V),-(long) (C))
#define ULONGLONG_MAX   0xFFFFFFFFFFFFFFFFULL
#define USE_SYMDIR
#define VOID_SIGHANDLER
#define W_OK   2

类型定义文档

typedef __int64 longlong
typedef int mode_t
typedef long off_t
typedef __int64 os_off_t
typedef uint rf_SetTimer
typedef int sigset_t
typedef SIZE_T size_t
typedef SSIZE_T ssize_t
typedef unsigned int uint
typedef unsigned __int64 ulonglong
typedef unsigned short ushort

函数文档

ulonglong double2ulonglong ( double  d) [inline]
double ulonglong2double ( ulonglong  value) [inline]
 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义