-
Notifications
You must be signed in to change notification settings - Fork 921
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move all platform related functions into quickjs-port.h and quickjs-port.c Add full msvc support. BOOL conflict with Windows.h, do not define it in header file, define it in c file directly Now run-test262 pass all tests match unix platform after add atomic/thread support on win32 by using quickjs-port.h win/stdatomic.h comes from https://github.com/cdschreiber/c11 win/dirent.h comes from https://github.com/tronkko/dirent win/getopt.h comes from mingw Now `make test2-update` passed all tests under msys2/mingw Signed-off-by: Yonggang Luo <[email protected]>
- Loading branch information
Showing
18 changed files
with
4,328 additions
and
324 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,8 @@ | |
#include "cutils.h" | ||
#include "libregexp.h" | ||
|
||
#define BOOL int | ||
|
||
/* | ||
TODO: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.