summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-08-06 20:21:48 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-08-06 20:21:48 (GMT)
commitbaeb5a2d1a3a2ee9adde6631badbafc73b9466e3 (patch)
tree1f5bf83cd2e06033b84b1c6001ddc930404c04d8
parentca19aaed72315746ac3e4df492b3b205fb96cdb1 (diff)
downloadblt-baeb5a2d1a3a2ee9adde6631badbafc73b9466e3.zip
blt-baeb5a2d1a3a2ee9adde6631badbafc73b9466e3.tar.gz
blt-baeb5a2d1a3a2ee9adde6631badbafc73b9466e3.tar.bz2
no open_unix under windows
-rwxr-xr-xtcliis/configure2
-rw-r--r--tcliis/configure.ac2
-rw-r--r--tcliis/iis.c2
3 files changed, 5 insertions, 1 deletions
diff --git a/tcliis/configure b/tcliis/configure
index 51d7cea..0c859a0 100755
--- a/tcliis/configure
+++ b/tcliis/configure
@@ -5467,6 +5467,7 @@ done
# Needed to compile open_unix
+if test "${TEA_PLATFORM}" != "windows" ; then
for ac_header in sys/un.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
@@ -5479,6 +5480,7 @@ fi
done
+fi
#--------------------------------------------------------------------
# __CHANGE__
diff --git a/tcliis/configure.ac b/tcliis/configure.ac
index b613b8a..ea40cc7 100644
--- a/tcliis/configure.ac
+++ b/tcliis/configure.ac
@@ -85,7 +85,9 @@ TEA_ADD_STUB_SOURCES([])
TEA_ADD_TCL_SOURCES([])
# Needed to compile open_unix
+if test "${TEA_PLATFORM}" != "windows" ; then
AC_CHECK_HEADERS(sys/un.h)
+fi
#--------------------------------------------------------------------
# __CHANGE__
diff --git a/tcliis/iis.c b/tcliis/iis.c
index eb34b96..676e645 100644
--- a/tcliis/iis.c
+++ b/tcliis/iis.c
@@ -14,7 +14,7 @@
#include <time.h>
#include <ctype.h>
#ifdef HAVE_SYS_UN_H
-#include <sys/un.h>
+/*#include <sys/un.h>*/
#endif
#include "iis.h"