summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/lib
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2018-06-09 09:31:06 -0500
committer cracyc <cracyc@users.noreply.github.com>2018-06-09 09:31:06 -0500
commitff21c59e8a5c5cc16cfe0712b92be75115fb6cef (patch)
tree56787a16eaf37b910800c76e485dc6c59f5980b0 /src/osd/modules/lib
parentea5d2a6f4a6762b0332d8cb78069b1de32a220ed (diff)
osdlib: GetCurrentProcessId is valid on uwp (nw)
Diffstat (limited to 'src/osd/modules/lib')
-rw-r--r--src/osd/modules/lib/osdlib_uwp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/lib/osdlib_uwp.cpp b/src/osd/modules/lib/osdlib_uwp.cpp
index dcf995fbd7f..7bfb594f9c7 100644
--- a/src/osd/modules/lib/osdlib_uwp.cpp
+++ b/src/osd/modules/lib/osdlib_uwp.cpp
@@ -182,6 +182,6 @@ char *osd_get_clipboard_text(void)
int osd_getpid(void)
{
- return -1;
+ return GetCurrentProcessId();
}