Skip to content

Commit 2ca574d

Browse files
authored
Removing windows.h (simdjson#273)
1 parent 7f27e1e commit 2ca574d

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

include/simdjson/jsonparser.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@
88
#include "simdjson/stage1_find_marks.h"
99
#include "simdjson/stage2_build_tape.h"
1010
#include <string>
11-
#ifdef _MSC_VER
12-
#include <windows.h>
13-
// must be included after windows.h
14-
#include <sysinfoapi.h>
15-
#else
16-
#include <unistd.h>
17-
#endif
1811

1912
namespace simdjson {
2013
// json_parse_implementation is the generic function, it is specialized for

singleheader/simdjson.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39449,13 +39449,6 @@ int unified_machine(const char *buf, size_t len, ParsedJson &pj) {
3944939449
#ifndef SIMDJSON_JSONPARSER_H
3945039450
#define SIMDJSON_JSONPARSER_H
3945139451
#include <string>
39452-
#ifdef _MSC_VER
39453-
#include <windows.h>
39454-
// must be included after windows.h
39455-
#include <sysinfoapi.h>
39456-
#else
39457-
#include <unistd.h>
39458-
#endif
3945939452

3946039453
namespace simdjson {
3946139454
// json_parse_implementation is the generic function, it is specialized for

0 commit comments

Comments
 (0)