gh-115773: Add missing preprocessor guard in _testexternalinspection (#116212)

Add missing preprocessor guard in _testexternalinspection
This commit is contained in:
Malcolm Smith 2024-03-01 17:50:48 +00:00 committed by GitHub
parent cc6f807760
commit e6e35327d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;