diff --git a/Misc/NEWS.d/next/Windows/2026-07-01-17-07-45.gh-issue-152433.uK7dKS.rst b/Misc/NEWS.d/next/Windows/2026-07-01-17-07-45.gh-issue-152433.uK7dKS.rst new file mode 100644 index 000000000000000..7ad79d94bf376d4 --- /dev/null +++ b/Misc/NEWS.d/next/Windows/2026-07-01-17-07-45.gh-issue-152433.uK7dKS.rst @@ -0,0 +1 @@ +``_uuid`` module: improve UWP compatibility. diff --git a/Modules/_uuidmodule.c b/Modules/_uuidmodule.c index c31a7e8fea56084..3edc29a75b32ce9 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