Enforce that dependencies.h and generic/*.h include the same dependencies.

This commit is contained in:
John Keiser
2023-07-17 16:07:42 -07:00
parent cbe562c1d5
commit e3cac71afe
25 changed files with 1721 additions and 1112 deletions
+5
View File
@@ -1,6 +1,7 @@
#ifndef SIMDJSON_SRC_IMPLEMENTATION_CPP
#define SIMDJSON_SRC_IMPLEMENTATION_CPP
#include "generic/dependencies.h"
#include "simdjson/implementation.h"
#include "simdjson/internal/isadetection.h"
#include <initializer_list>
@@ -15,6 +16,8 @@ bool implementation::supported_by_runtime_system() const {
} // namespace simdjson
#define SIMDJSON_AMALGAMATED
#if SIMDJSON_IMPLEMENTATION_ARM64
#include "simdjson/arm64/implementation.h"
namespace simdjson {
@@ -88,6 +91,8 @@ static const simdjson::westmere::implementation* get_westmere_singleton() {
} // namespace simdjson
#endif // SIMDJSON_IMPLEMENTATION_WESTMERE
#undef SIMDJSON_AMALGAMATED
namespace simdjson {
namespace internal {