Docs: Clarify availability of PyOS_CheckStack (GH-91816)

This commit is contained in:
Petr Viktorin 2022-04-22 12:44:43 +02:00 committed by GitHub
parent bcf14ae433
commit 82ec638ab7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -24,6 +24,7 @@ PyAPI_DATA(int) (*PyOS_InputHook)(void);
#if defined(WIN32) && !defined(MS_WIN64) && !defined(_M_ARM) && defined(_MSC_VER) && _MSC_VER >= 1300
/* Enable stack checking under Microsoft C */
// When changing the platforms, ensure PyOS_CheckStack() docs are still correct
#define USE_STACKCHECK
#endif