summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authortim@cane.mysql.fi <>2000-12-22 20:57:00 +0200
committertim@cane.mysql.fi <>2000-12-22 20:57:00 +0200
commit8f51a9f1f3bd5ff272a91c94f1388eae242610df (patch)
tree8a33f9abb76f136028040e393e9cb78f36df61e1 /include
parent30e8de65b66df6a5662aab0c45c9b0e4e7e5d3f5 (diff)
downloadmariadb-git-8f51a9f1f3bd5ff272a91c94f1388eae242610df.tar.gz
Style fix - keep os-specific stuff together.
Diffstat (limited to 'include')
-rw-r--r--include/global.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index 4119b690031..ce3fc80770f 100644
--- a/include/global.h
+++ b/include/global.h
@@ -351,6 +351,10 @@ typedef int (*qsort_cmp)(const void *,const void *);
typedef SOCKET_SIZE_TYPE size_socket;
#endif
+#ifndef SOCKOPT_OPTLEN_TYPE
+#define SOCKOPT_OPTLEN_TYPE size_socket
+#endif
+
/* file create flags */
#ifndef O_SHARE