mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-22 16:47:21 +03:00
getpid() fix for Win32
This commit is contained in:
parent
90c7269c05
commit
7f283980f0
2 changed files with 4 additions and 0 deletions
|
|
@ -1384,6 +1384,8 @@ prof_dump_maps(bool propagate_err)
|
|||
cassert(config_prof);
|
||||
#ifdef __FreeBSD__
|
||||
mfd = prof_open_maps("/proc/curproc/map");
|
||||
#elif defined(_WIN32)
|
||||
mfd = -1; // Not implemented
|
||||
#else
|
||||
{
|
||||
int pid = getpid();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue