Skip to content

Commit 0162d10

Browse files
committed
Alias simdjson::builtin to simdjson::SIMDJSON_BUILTIN_IMPLEMENTATION
1 parent b0687f5 commit 0162d10

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

include/simdjson.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ SIMDJSON_DISABLE_UNDESIRED_WARNINGS
8484
#include "simdjson/haswell.h"
8585
#include "simdjson/westmere.h"
8686

87+
namespace simdjson {
88+
namespace builtin = SIMDJSON_BUILTIN_IMPLEMENTATION;
89+
}
90+
8791
SIMDJSON_POP_DISABLE_WARNINGS
8892

8993
#endif // SIMDJSON_H

include/simdjson/simdjson.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77

88
#include "simdjson/compiler_check.h"
99
#include "simdjson/error.h"
10-
#endif // SIMDJSON_H
10+
#endif // SIMDJSON_SIMDJSON_H

0 commit comments

Comments
 (0)