mariadb/server-tools/instance-manager/portability.h

30 lines
532 B
C
Raw Normal View History

#ifndef INCLUDES_MYSQL_INSTANCE_MANAGER_PORTABILITY_H
#define INCLUDES_MYSQL_INSTANCE_MANAGER_PORTABILITY_H
2005-07-20 10:55:40 -05:00
#if defined(_SCO_DS) && !defined(SHUT_RDWR)
#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__ */
#endif /* INCLUDES_MYSQL_INSTANCE_MANAGER_PORTABILITY_H */
2005-07-20 10:55:40 -05:00