mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
4ed46633fc
Corrected OpenServer ifdef test Makefile.am: Added test-pl and test-force-pl targets Makefile.am: Added test-pl and test-force-pl targets server-tools/instance-manager/portability.h: Corrected OpenServer ifdef test
29 lines
532 B
C
29 lines
532 B
C
#ifndef INCLUDES_MYSQL_INSTANCE_MANAGER_PORTABILITY_H
|
|
#define INCLUDES_MYSQL_INSTANCE_MANAGER_PORTABILITY_H
|
|
|
|
#if defined(_SCO_DS) && !defined(SHUT_RDWR)
|
|
#define SHUT_RDWR 2
|
|
#endif
|
|
|
|
#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_PORTABILITY_H */
|
|
|
|
|