commit | 2f8bfef1587b3e8f43c0ce7cd9546137c5b56782 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Wed Sep 07 09:26:18 2016 -0700 |
committer | Benjamin Peterson <benjamin@python.org> | Wed Sep 07 09:26:18 2016 -0700 |
tree | 44becf9ee303c3cd1e8977fbda8cbbe42237258a | |
parent | c75abff53375bbd9f1536de4069854cea4933c42 [diff] [blame] |
replace PY_SIZE_MAX with SIZE_MAX
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 8afc4d5..21f063d 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c
@@ -976,7 +976,7 @@ }; -#if PY_SIZE_MAX > INT_MAX +#if SIZE_MAX > INT_MAX #define CHECK_STRING_LENGTH(s) do { \ if (s != NULL && strlen(s) >= INT_MAX) { \ PyErr_SetString(PyExc_OverflowError, "string is too long"); \