2005-08-05 20:44:52 +02:00
|
|
|
#ifndef INCLUDES_MYSQL_INSTANCE_MANAGER_PORTABILITY_H
|
|
|
|
#define INCLUDES_MYSQL_INSTANCE_MANAGER_PORTABILITY_H
|
2005-07-20 10:55:40 -05:00
|
|
|
|
2005-09-29 19:37:03 +02:00
|
|
|
#if defined(_SCO_DS) && !defined(SHUT_RDWR)
|
2005-09-27 08:28:56 +02:00
|
|
|
#define SHUT_RDWR 2
|
|
|
|
#endif
|
|
|
|
|
2005-07-20 10:55:40 -05:00
|
|
|
#ifdef __WIN__
|
|
|
|
|
|
|
|
#define vsnprintf _vsnprintf
|
|
|
|
|
|
|
|
#define SIGKILL 9
|
|
|
|
#define SHUT_RDWR 0x2
|
|
|
|
|
2005-08-29 23:29:35 +04:00
|
|
|
/*TODO: fix this */
|
2005-07-20 10:55:40 -05:00
|
|
|
#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__ */
|
|
|
|
|
2005-08-05 20:44:52 +02:00
|
|
|
#endif /* INCLUDES_MYSQL_INSTANCE_MANAGER_PORTABILITY_H */
|
2005-07-20 10:55:40 -05:00
|
|
|
|
|
|
|
|