Skip to content

Commit

Permalink
Try with __MINGW64_VERSION_MAJOR and __MINGW32_MAJOR_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
seladb committed Jun 20, 2024
1 parent 3bc00b5 commit d911d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Packet++/src/Asn1Codec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ namespace pcpp
{
std::vector<uint8_t> result;

#if !(defined(__MIGW32__) || defined(__MIGW64__))
#if !(defined(__MINGW64_VERSION_MAJOR) || defined(__MINGW32_MAJOR_VERSION))
result.reserve(m_ValueLength);
#endif

Expand Down

0 comments on commit d911d1b

Please sign in to comment.