From: thexai <58434170+thexai@users.noreply.github.com> Date: Sun, 19 Jul 2026 13:19:40 +0000 (+0200) Subject: gh-152433: Windows: ``_uuid`` module: improve UWP compatibility (#152793) X-Git-Url: http://git.ipfire.org/index.cgi?a=commitdiff_plain;h=ec1057ebb6b3d515bff058af2feebf2868aadd42;p=thirdparty%2FPython%2Fcpython.git gh-152433: Windows: ``_uuid`` module: improve UWP compatibility (#152793) --- diff --git a/Modules/_uuidmodule.c b/Modules/_uuidmodule.c index c31a7e8fea56..3edc29a75b32 100644 --- a/Modules/_uuidmodule.c +++ b/Modules/_uuidmodule.c @@ -20,6 +20,9 @@ #ifdef MS_WINDOWS #include +#ifndef RPC_S_OK +#define RPC_S_OK 0L +#endif #endif #ifndef MS_WINDOWS