mirror of
https://github.com/bellard/quickjs.git
synced 2026-04-06 06:38:02 +00:00
use name "a.exe" for Windows
This commit is contained in:
parent
7709f98eb6
commit
d05865a12b
4
qjsc.c
4
qjsc.c
@ -690,7 +690,11 @@ int main(int argc, char **argv)
|
||||
|
||||
if (!out_filename) {
|
||||
if (output_type == OUTPUT_EXECUTABLE) {
|
||||
#ifdef _WIN32
|
||||
out_filename = "a.exe";
|
||||
#else
|
||||
out_filename = "a.out";
|
||||
#endif
|
||||
} else {
|
||||
out_filename = "out.c";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user