about summary refs log tree commit diff
path: root/aczsh.m4
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-11-16 11:04:25 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-11-16 11:04:25 +0000
commitfece5e8960b0d6200c1a84690bc242c945fdfb1e (patch)
tree878dee0739275e6b8ec7e8a1154dd7190e65b9a3 /aczsh.m4
parent24a68220a105c70a54baa543917e1022ae3e7a8d (diff)
downloadzsh-fece5e8960b0d6200c1a84690bc242c945fdfb1e.tar.gz
zsh-fece5e8960b0d6200c1a84690bc242c945fdfb1e.tar.xz
zsh-fece5e8960b0d6200c1a84690bc242c945fdfb1e.zip
20556: change SOCKLEN_T to ZSOCKLEN_T to avoid clash
Diffstat (limited to 'aczsh.m4')
-rw-r--r--aczsh.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/aczsh.m4 b/aczsh.m4
index 5dd85fba9..a967431da 100644
--- a/aczsh.m4
+++ b/aczsh.m4
@@ -695,6 +695,7 @@ dnl zsh_CHECK_SOCKLEN_T
 dnl
 dnl	check type of third argument of some network functions; currently
 dnl	tested are size_t *, unsigned long *, int *.
+dnl     call the result ZSOCKLEN_T since some systems have SOCKLEN_T already
 dnl
 AC_DEFUN([zsh_CHECK_SOCKLEN_T],[
   AC_CACHE_CHECK(
@@ -714,7 +715,7 @@ AC_DEFUN([zsh_CHECK_SOCKLEN_T],[
       zsh_cv_type_socklen_t=int
     fi]
   )
-  AC_DEFINE_UNQUOTED([SOCKLEN_T], [$zsh_cv_type_socklen_t],
+  AC_DEFINE_UNQUOTED([ZSOCKLEN_T], [$zsh_cv_type_socklen_t],
   [Define to the base type of the third argument of accept])]
 )