diff options
-rwxr-xr-x | configure | 1 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | xim.C | 8 |
3 files changed, 8 insertions, 2 deletions
@@ -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 : @@ -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}; |