mirror of https://github.com/python/cpython
gh-115773: Add missing preprocessor guard in _testexternalinspection (#116212)
Add missing preprocessor guard in _testexternalinspection
This commit is contained in:
parent
cc6f807760
commit
e6e35327d8
|
@ -352,7 +352,7 @@ ssize_t
|
|||
read_memory(pid_t pid, void* remote_address, size_t len, void* dst)
|
||||
{
|
||||
ssize_t total_bytes_read = 0;
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) && HAVE_PROCESS_VM_READV
|
||||
struct iovec local[1];
|
||||
struct iovec remote[1];
|
||||
ssize_t result = 0;
|
||||
|
|
Loading…
Reference in New Issue