Skip to content

Commit

Permalink
Only apply stdport workaround on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Rupan committed Sep 24, 2022
1 parent ca0b663 commit 4096876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idadbg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4096876

Please sign in to comment.