Skip to content

Commit 672d190

Browse files
committed
gh-152433: Windows: _uuid module: improve UWP compatibility
1 parent b52bc56 commit 672d190

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
``_uuid`` module: improve UWP compatibility.

Modules/_uuidmodule.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020

2121
#ifdef MS_WINDOWS
2222
#include <rpc.h>
23+
#ifndef RPC_S_OK
24+
#define RPC_S_OK 0L
25+
#endif
2326
#endif
2427

2528
#ifndef MS_WINDOWS

0 commit comments

Comments
 (0)