aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2023-08-20 12:53:10 +0100
committerRon Yorston <rmy@pobox.com>2023-08-20 13:35:20 +0100
commit67ed7484be88e3be5a5a51f404f1325a569be173 (patch)
tree095e176c3a09fdef23831852a87964d35b5470b2 /include
parent77aa74d151643ff2ec96156942e004fba19464a5 (diff)
downloadbusybox-w32-noconsole2.tar.gz
busybox-w32-noconsole2.tar.bz2
busybox-w32-noconsole2.zip
ash: detect console state on shell start upnoconsole2
Set 'noconsole' to match the actual state of the console (normal/ iconified) when the shell is started. Thus ShowWindow() will only be called if the actual state differs from the default or user defined state. Costs 20-24 bytes. (GitHub issue #325)
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 97db2f6a9..6e851b43d 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -609,7 +609,6 @@ ULONGLONG CompatGetTickCount64(void);
609 609
610ssize_t get_random_bytes(void *buf, ssize_t count); 610ssize_t get_random_bytes(void *buf, ssize_t count);
611int enumerate_links(const char *file, char *name); 611int enumerate_links(const char *file, char *name);
612void hide_console(int);
613 612
614int unc_root_len(const char *dir); 613int unc_root_len(const char *dir);
615int root_len(const char *path); 614int root_len(const char *path);