diff options
| author | Josh Ferrell <josh@vector35.com> | 2022-11-17 14:44:48 -0500 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2022-11-27 13:43:44 -0500 |
| commit | 5f4c09be61de34bb92575a76e52c68f4cc9db5ca (patch) | |
| tree | 388161a7ce13d8a2a30136f17d3c5a74ea5ce6e6 /rapidjsonwrapper.h | |
| parent | dbd6d589f09afe39bc148030bcda4e51a7c6cca5 (diff) | |
Enable rapidjson SIMD support
Diffstat (limited to 'rapidjsonwrapper.h')
| -rw-r--r-- | rapidjsonwrapper.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rapidjsonwrapper.h b/rapidjsonwrapper.h index 5b117413..18e6bd8f 100644 --- a/rapidjsonwrapper.h +++ b/rapidjsonwrapper.h @@ -17,6 +17,14 @@ struct GenericException : public std::exception virtual const char* what() const throw() { return "Exception while parsing json."; } }; +#ifdef __SSE2__ +#define RAPIDJSON_SSE2 1 +#endif + +#ifdef __ARM_NEON__ +#define RAPIDJSON_NEON 1 +#endif + #define RAPIDJSON_HAS_STDSTRING 0 #define RAPIDJSON_HAS_CXX11_NOEXCEPT 0 #define RAPIDJSON_ASSERT(x) \ |
