gstinfo,ptpclock,libcheck: Use GetCurrentProcessId() instead of getpid() on Windows
authorSeungha Yang <seungha@centricular.com>
Sun, 6 Feb 2022 13:54:42 +0000 (22:54 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 16 Feb 2022 17:03:29 +0000 (17:03 +0000)
commit04f3a2bd22a556b643a13db2417e3b9ddb026577
treed61e0a046125616e1eb3245e75058a73664ac177
parentec8b2939992e75ca7af05c9efd75a41a9cd1a66f
gstinfo,ptpclock,libcheck: Use GetCurrentProcessId() instead of getpid() on Windows

getpid() shouldn't be used in case of UWP. Use GetCurrentProcessId()
instead which provides exactly the same functionality and can be
used with UWP as well.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1006>
subprojects/gst-plugins-base/gst-libs/gst/pbutils/missing-plugins.c
subprojects/gstreamer/gst/gstinfo.c
subprojects/gstreamer/libs/gst/check/libcheck/libcompat/libcompat.h
subprojects/gstreamer/libs/gst/net/gstptpclock.c