File tree 3 files changed +6
-8
lines changed
3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -42,12 +42,10 @@ include(${PROJECT_SOURCE_DIR}/tests/add_cpp_test.cmake)
42
42
#
43
43
# These tests explicitly do #include "simdjson.cpp" so they can override stuff
44
44
#
45
- if (NOT MSVC ) # Can't get simdjson-source to compile on Windows for some reason.
46
- add_cpp_test(numberparsingcheck LABELS acceptance per_implementation)
47
- target_link_libraries (numberparsingcheck simdjson-include -source )
48
- add_cpp_test(stringparsingcheck LABELS acceptance per_implementation)
49
- target_link_libraries (stringparsingcheck simdjson-include -source )
50
- endif ()
45
+ add_cpp_test(numberparsingcheck LABELS acceptance per_implementation)
46
+ target_link_libraries (numberparsingcheck simdjson-include -source simdjson-windows-headers)
47
+ add_cpp_test(stringparsingcheck LABELS acceptance per_implementation)
48
+ target_link_libraries (stringparsingcheck simdjson-include -source simdjson-windows-headers)
51
49
52
50
# All remaining tests link with simdjson proper
53
51
link_libraries (simdjson)
Original file line number Diff line number Diff line change 1
1
#include < cstring>
2
- #include < dirent.h>
3
2
#include < inttypes.h>
4
3
#include < math.h>
5
4
#include < stdbool.h>
10
9
#define JSON_TEST_NUMBERS
11
10
#endif
12
11
12
+ #include " dirent_portable.h"
13
13
#include " simdjson.h"
14
14
15
15
// ulp distance
Original file line number Diff line number Diff line change 1
1
#include < cassert>
2
2
#include < climits>
3
3
#include < cstring>
4
- #include < dirent.h>
5
4
#include < inttypes.h>
6
5
#include < iostream>
7
6
#include < math.h>
13
12
#define JSON_TEST_STRINGS
14
13
#endif
15
14
15
+ #include " dirent_portable.h"
16
16
#include " simdjson.h"
17
17
18
18
char *fullpath;
You can’t perform that action at this time.
0 commit comments