summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure1
-rw-r--r--configure.ac1
-rw-r--r--xim.C8
3 files changed, 8 insertions, 2 deletions
diff --git a/configure b/configure
index 912c7a2..80d2318 100755
--- a/configure
+++ b/configure
@@ -5479,7 +5479,6 @@ done
#--------------------------------------------------------------------
#CLEANFILES="$CLEANFILES pkgIndex.tcl"
-CLEANFILES="$CLEANFILES tcliisConfig.sh"
if test "${TEA_PLATFORM}" = "windows" ; then
# Ensure no empty if clauses
:
diff --git a/configure.ac b/configure.ac
index b25e69c..9fbd92e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -97,7 +97,6 @@ TEA_ADD_TCL_SOURCES([])
#--------------------------------------------------------------------
#CLEANFILES="$CLEANFILES pkgIndex.tcl"
-CLEANFILES="$CLEANFILES tcliisConfig.sh"
if test "${TEA_PLATFORM}" = "windows" ; then
# Ensure no empty if clauses
:
diff --git a/xim.C b/xim.C
index ecbeeed..8fcc2db 100644
--- a/xim.C
+++ b/xim.C
@@ -25,7 +25,11 @@ extern "C" {
void iisIO(ClientData data, int mask)
{
+#ifdef _WIN64
+ int fd = (long long)data;
+#else
int fd = (long)data;
+#endif
if (IISDebug)
cerr << "iisIO() " << fd << ' ' << mask << endl;
@@ -81,7 +85,11 @@ void setupProc(void* fd, int flags)
void checkProc(void* fdd, int flags)
{
+#ifdef __WIN32
+ int fd = (long long)fdd;
+#else
int fd = (int)fdd;
+#endif
fd_set readfds;
struct timeval tv = {0,0};