diff options
author | unknown <tim@cane.mysql.fi> | 2000-12-21 11:54:08 +0200 |
---|---|---|
committer | unknown <tim@cane.mysql.fi> | 2000-12-21 11:54:08 +0200 |
commit | 33cc250f670574c05d5933049ed1f9c7e4b168fb (patch) | |
tree | 8289f700fb9c3073f20ac23cce22265f83601c39 /acconfig.h | |
parent | 27336dfe8fbd4e12b06e99778de5d8c1c7e837f0 (diff) | |
download | mariadb-git-33cc250f670574c05d5933049ed1f9c7e4b168fb.tar.gz |
Compatibility fix for BSDi.
BSDi uses size_t * for the optlen arg to getsockopt, while other Unixes
use socklen_t *.
acconfig.h:
- compatibility fix for BSDi (getsockopt optlen type)
configure.in:
- compatibility fix for BSDi (getsockopt optlen type)
libmysql/libmysql.c:
- compatibility fix for BSDi (getsockopt optlen type)
sql/mini_client.cc:
- compatibility fix for BSDi (getsockopt optlen type)
Diffstat (limited to 'acconfig.h')
-rw-r--r-- | acconfig.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h index e1373fa17f0..3b9874b2e6a 100644 --- a/acconfig.h +++ b/acconfig.h @@ -186,6 +186,9 @@ /* Define as the base type of the last arg to accept */ #undef SOCKET_SIZE_TYPE +/* Last argument to get/setsockopt */ +#undef SOCKOPT_OPTLEN_TYPE + #undef SPEED_T_IN_SYS_TYPES #undef SPRINTF_RETURNS_PTR #undef SPRINTF_RETURNS_INT |