From 40968764f3d1e0bd4ed1afdf90733ae220285ed8 Mon Sep 17 00:00:00 2001 From: Michael Mohr Date: Sat, 24 Sep 2022 08:39:40 -0700 Subject: [PATCH] Only apply stdport workaround on Windows --- idadbg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idadbg.h b/idadbg.h index 2cc4f78..ddea7f5 100644 --- a/idadbg.h +++ b/idadbg.h @@ -829,7 +829,7 @@ struct pin_symdef_t const unsigned char *name() const { return buf() + sizeof(uint64); } unsigned char *name() { return buf() + sizeof(uint64); } // PIN's stlport does not have data() -#if defined(IDA_SDK_VERSION) || PIN_BUILD_NUMBER >= 76991 +#if defined(IDA_SDK_VERSION) || (PIN_BUILD_NUMBER >= 76991 && defined(TARGET_WINDOWS)) const unsigned char *buf() const { return array.begin(); } unsigned char *buf() { return array.begin(); } #else