Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 84c10b1

Browse files
committed
File handlers don't work on the mac, so don't pretend they do. I guess this is a 2.1.1 candidate, if it isn't too late for that.
1 parent 19ff4ac commit 84c10b1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Modules/_tkinter.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ Copyright (C) 1994 Steen Lumholt.
5757
#include <Menus.h>
5858
#endif
5959

60-
#if !(defined(MS_WINDOWS) || defined(__CYGWIN__))
60+
#if !(defined(MS_WINDOWS) || defined(__CYGWIN__) || defined(macintosh))
61+
/* Mac has it, but it doesn't really work:-( */
6162
#define HAVE_CREATEFILEHANDLER
6263
#endif
6364

0 commit comments

Comments
 (0)