mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
Enforce that dependencies.h and generic/*.h include the same dependencies.
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user