mirror of https://github.com/GNOME/gimp.git
Resolve implicit declaration of function 'getpid'
This commit is contained in:
parent
6bca8c4f89
commit
4118fb6a76
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue