mirror of
https://github.com/bellard/quickjs.git
synced 2025-09-27 13:48:45 +03: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 (!out_filename) {
|
||||||
if (output_type == OUTPUT_EXECUTABLE) {
|
if (output_type == OUTPUT_EXECUTABLE) {
|
||||||
|
#ifdef _WIN32
|
||||||
|
out_filename = "a.exe";
|
||||||
|
#else
|
||||||
out_filename = "a.out";
|
out_filename = "a.out";
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
out_filename = "out.c";
|
out_filename = "out.c";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user