mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
69220b00bd
server-tools/instance-manager/WindowsService.cpp: Change mode to -rw-rw-r-- server-tools/instance-manager/WindowsService.h: Change mode to -rw-rw-r-- server-tools/instance-manager/port.h: Change mode to -rw-rw-r-- server-tools/instance-manager/mysqlmanager.vcproj: Change mode to -rw-rw-r-- server-tools/instance-manager/IMService.cpp: Change mode to -rw-rw-r-- server-tools/instance-manager/IMService.h: Change mode to -rw-rw-r--
25 lines
436 B
C
25 lines
436 B
C
#ifndef INCLUDES_MYSQL_INSTANCE_MANAGER_PORT_H
|
|
#define INCLUDES_MYSQL_INSTANCE_MANAGER_PORT_H
|
|
|
|
#ifdef __WIN__
|
|
|
|
#define vsnprintf _vsnprintf
|
|
|
|
#define SIGKILL 9
|
|
#define SHUT_RDWR 0x2
|
|
|
|
//TODO: fix this
|
|
#define DEFAULT_MONITORING_INTERVAL 20
|
|
#define DEFAULT_PORT 2273
|
|
#define PROTOCOL_VERSION 10
|
|
|
|
typedef int pid_t;
|
|
|
|
#undef popen
|
|
#define popen(A,B) _popen(A,B)
|
|
|
|
#endif /* __WIN__ */
|
|
|
|
#endif /* INCLUDES_MYSQL_INSTANCE_MANAGER_PORT_H */
|
|
|
|
|