diff --git a/src/_tkagg.cpp b/src/_tkagg.cpp index a2c99b50486b..d31700c3ee65 100644 --- a/src/_tkagg.cpp +++ b/src/_tkagg.cpp @@ -24,6 +24,10 @@ * also. */ #define WIN32_DLL +static inline PyObject *PyErr_SetFromWindowsErr(int ierr) { + PyErr_SetString(PyExc_OSError, "Call to EnumProcessModules failed"); + return NULL; +} #endif #ifdef WIN32_DLL
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: