diff options
author | unknown <msvensson@neptunus.(none)> | 2006-08-03 17:29:35 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-08-03 17:29:35 +0200 |
commit | f6d0bdcc2b5e286a14990eb8c99cad1e74ef2a02 (patch) | |
tree | e368de51b0149adf12bdabdc553b0c56608a4c39 /server-tools | |
parent | 98157e78b1cc678c3a6140a38da7420255b206b9 (diff) | |
download | mariadb-git-f6d0bdcc2b5e286a14990eb8c99cad1e74ef2a02.tar.gz |
Bug#20190 Unixware 7.13 port and make test errors
- Thanks to cerber for the patch!
server-tools/instance-manager/portability.h:
Define SHUT_RDWR also on Unixware 7
Diffstat (limited to 'server-tools')
-rw-r--r-- | server-tools/instance-manager/portability.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/server-tools/instance-manager/portability.h b/server-tools/instance-manager/portability.h index 1a3be5705e3..23a5a5bd14c 100644 --- a/server-tools/instance-manager/portability.h +++ b/server-tools/instance-manager/portability.h @@ -1,7 +1,11 @@ #ifndef INCLUDES_MYSQL_INSTANCE_MANAGER_PORTABILITY_H #define INCLUDES_MYSQL_INSTANCE_MANAGER_PORTABILITY_H -#if defined(_SCO_DS) && !defined(SHUT_RDWR) +#if (defined(_SCO_DS) || defined(UNIXWARE_7)) && !defined(SHUT_RDWR) +/* + SHUT_* functions are defined only if + "(defined(_XOPEN_SOURCE) && _XOPEN_SOURCE_EXTENDED - 0 >= 1)" +*/ #define SHUT_RDWR 2 #endif |