diff options
author | Christopher Faylor <me@cgf.cx> | 2005-12-21 17:14:34 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-12-21 17:14:34 +0000 |
commit | 247ac234f46c038e1c23094172a6151efc17c6f0 (patch) | |
tree | ac8e7b423834c0ad0eb6ad7ada60a8e100367308 /winsup/cygwin/winsup.h | |
parent | d4c8d84da6f556265a560515e144c4b03cb4afb1 (diff) | |
download | cygnal-247ac234f46c038e1c23094172a6151efc17c6f0.tar.gz cygnal-247ac234f46c038e1c23094172a6151efc17c6f0.tar.bz2 cygnal-247ac234f46c038e1c23094172a6151efc17c6f0.zip |
* cygheap.cc (init_cygheap::manage_console_count): Revert previous change.
Handle this a different way.
* external.cc (cygwin_internal): Accommodate extra hook_or_detect_cygwin
argument.
* hookapi.cc (cygwin_internal): Fill in subsys variable with the subsystem of
the executable.
* spawn.cc (av::iscui): New variable.
(spawn_guts): Hide window when we don't have a console and this isn't
NT/XP/2003.
(av::fixup): Set iscui flag.
* winsup.h (hook_or_detect_cygwin): Accommodate extra argument.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r-- | winsup/cygwin/winsup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index 3a24d8d1a..2e40adeaf 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -250,7 +250,7 @@ extern "C" int __stdcall strcasematch (const char *s1, const char *s2) __attribu extern "C" int __stdcall strncasematch (const char *s1, const char *s2, size_t n) __attribute__ ((regparm(3))); extern "C" char *__stdcall strcasestr (const char *searchee, const char *lookfor) __attribute__ ((regparm(2))); -void *hook_or_detect_cygwin (const char *, const void *) __attribute__ ((regparm (2))); +void *hook_or_detect_cygwin (const char *, const void *, WORD&) __attribute__ ((regparm (3))); /* Time related */ void __stdcall totimeval (struct timeval *, FILETIME *, int, int); |