Commit 4118fb6a authored by lillolollo's avatar lillolollo

Resolve implicit declaration of function 'getpid'

parent 6bca8c4f
Pipeline #114139 passed with stages
in 22 minutes and 13 seconds
......@@ -50,7 +50,7 @@
# include <windows.h>
# include <tlhelp32.h>
# include <process.h>
# include <processthreadsapi.h>
# undef RGB
#endif
......@@ -137,7 +137,7 @@ _gimp_debug_stop (void)
HANDLE hThreadSnap = NULL;
THREADENTRY32 te32 = { 0 };
pid_t opid = getpid ();
DWORD opid = GetCurrentProcessId();
g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG,
"Debugging (restart externally): %ld",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment