diff options
author | tim@cane.mysql.fi <> | 2000-12-21 11:54:08 +0200 |
---|---|---|
committer | tim@cane.mysql.fi <> | 2000-12-21 11:54:08 +0200 |
commit | 9a29f1f7a55944d00dfb4187f650ca8c9fd25af4 (patch) | |
tree | 8289f700fb9c3073f20ac23cce22265f83601c39 /acconfig.h | |
parent | 4656daa6e4003bea77a57517a439450c3bd17df5 (diff) | |
download | mariadb-git-9a29f1f7a55944d00dfb4187f650ca8c9fd25af4.tar.gz |
Compatibility fix for BSDi.
BSDi uses size_t * for the optlen arg to getsockopt, while other Unixes
use socklen_t *.
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 |