File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -82,33 +82,10 @@ typedef int Tcl_Size;
8282
8383#ifdef HAVE_CREATEFILEHANDLER
8484
85- /* This bit is to ensure that TCL_UNIX_FD is defined and doesn't interfere
86- with the proper calculation of FHANDLETYPE == TCL_UNIX_FD below. */
87- #ifndef TCL_UNIX_FD
88- # ifdef TCL_WIN_SOCKET
89- # define TCL_UNIX_FD (! TCL_WIN_SOCKET)
90- # else
91- # define TCL_UNIX_FD 1
92- # endif
93- #endif
94-
95- /* Tcl_CreateFileHandler() changed several times; these macros deal with the
96- messiness. In Tcl 8.0 and later, it is not available on Windows (and on
97- Unix, only because Jack added it back); when available on Windows, it only
98- applies to sockets. */
99-
100- #ifdef MS_WINDOWS
101- #define FHANDLETYPE TCL_WIN_SOCKET
102- #else
103- #define FHANDLETYPE TCL_UNIX_FD
104- #endif
105-
10685/* If Tcl can wait for a Unix file descriptor, define the EventHook() routine
10786 which uses this to handle Tcl events while the user is typing commands. */
10887
109- #if FHANDLETYPE == TCL_UNIX_FD
11088#define WAIT_FOR_STDIN
111- #endif
11289
11390#endif /* HAVE_CREATEFILEHANDLER */
11491
You can’t perform that action at this time.
0 commit comments