summaryrefslogtreecommitdiff
path: root/acconfig.h
diff options
context:
space:
mode:
authorunknown <tim@cane.mysql.fi>2000-12-21 11:54:08 +0200
committerunknown <tim@cane.mysql.fi>2000-12-21 11:54:08 +0200
commit33cc250f670574c05d5933049ed1f9c7e4b168fb (patch)
tree8289f700fb9c3073f20ac23cce22265f83601c39 /acconfig.h
parent27336dfe8fbd4e12b06e99778de5d8c1c7e837f0 (diff)
downloadmariadb-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.h3
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