File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const quickjs_libc_c = loadFile("quickjs-libc.c")
19
19
const quickjs_libc_h = loadFile ( "quickjs-libc.h" )
20
20
const quickjs_opcode_h = loadFile ( "quickjs-opcode.h" )
21
21
22
- let source = "#if defined(CONFIG_QUICKJS_LIBC ) && defined(__linux__) && !defined(_GNU_SOURCE)\n"
22
+ let source = "#if defined(QJS_BUILD_LIBC ) && defined(__linux__) && !defined(_GNU_SOURCE)\n"
23
23
+ "#define _GNU_SOURCE\n"
24
24
+ "#endif\n"
25
25
+ quickjs_c_atomics_h
@@ -35,10 +35,10 @@ let source = "#if defined(CONFIG_QUICKJS_LIBC) && defined(__linux__) && !defined
35
35
+ libbf_c
36
36
+ libregexp_c
37
37
+ libunicode_c
38
- + "#ifdef CONFIG_QUICKJS_LIBC \n"
38
+ + "#ifdef QJS_BUILD_LIBC \n"
39
39
+ quickjs_libc_h
40
40
+ quickjs_libc_c
41
- + "#endif // CONFIG_QUICKJS_LIBC \n"
41
+ + "#endif // QJS_BUILD_LIBC \n"
42
42
source = source . replace ( / # i n c l u d e " q u i c k j s - a t o m .h " / g, quickjs_atom_h )
43
43
source = source . replace ( / # i n c l u d e " q u i c k j s - o p c o d e .h " / g, quickjs_opcode_h )
44
44
source = source . replace ( / # i n c l u d e " l i b r e g e x p - o p c o d e .h " / g, libregexp_opcode_h )
You can’t perform that action at this time.
0 commit comments