]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-152433: Windows: ``_uuid`` module: improve UWP compatibility (#152793)
authorthexai <58434170+thexai@users.noreply.github.com>
Sun, 19 Jul 2026 13:19:40 +0000 (15:19 +0200)
committerGitHub <noreply@github.com>
Sun, 19 Jul 2026 13:19:40 +0000 (15:19 +0200)
Modules/_uuidmodule.c

index c31a7e8fea5608472dfbc3a9e1fba7b05686611e..3edc29a75b32ce913abbdabf71ac72c2429b12b1 100644 (file)
@@ -20,6 +20,9 @@
 
 #ifdef MS_WINDOWS
 #include <rpc.h>
+#ifndef RPC_S_OK
+#define RPC_S_OK 0L
+#endif
 #endif
 
 #ifndef MS_WINDOWS