mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
bc8bc7d1a8
ErrorValues -> error_code, Architecture -> architecture
24 lines
526 B
C
24 lines
526 B
C
#ifndef SIMDJSON_SIMDJSON_H
|
|
#define SIMDJSON_SIMDJSON_H
|
|
|
|
#ifndef __cplusplus
|
|
#error simdjson requires a C++ compiler
|
|
#endif
|
|
|
|
#ifndef SIMDJSON_CPLUSPLUS
|
|
#if defined(_MSVC_LANG) && !defined(__clang__)
|
|
#define SIMDJSON_CPLUSPLUS (_MSC_VER == 1900 ? 201103L : _MSVC_LANG)
|
|
#else
|
|
#define SIMDJSON_CPLUSPLUS __cplusplus
|
|
#endif
|
|
#endif
|
|
|
|
#if (SIMDJSON_CPLUSPLUS < 201703L)
|
|
#error simdjson requires a compiler compliant with the C++17 standard
|
|
#endif
|
|
|
|
#include "simdjson/architecture.h"
|
|
#include "simdjson/error.h"
|
|
|
|
#endif // SIMDJSON_H
|