Skip to content

Commit

Permalink
feat: allow disable packed bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
neko-para committed Apr 23, 2024
1 parent 6fd4208 commit e50adee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/parser/packed_bytes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ struct packed_bytes
};
}

#ifndef MEOJSON_DISABLE_PACKED_BYTES
#if defined(__SSE2__) || defined(_M_X64) || (defined(_M_IX86_FP) && _M_IX86_FP)
#include "packed_bytes_x86.hpp"
#elif defined(__ARM_NEON) || defined(_M_ARM) || defined(_M_ARM64)
#include "packed_bytes_arm.hpp"
#endif
#endif

namespace json::_packed_bytes
{
Expand Down

0 comments on commit e50adee

Please sign in to comment.