diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-19 10:54:33 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-19 10:54:33 +0000 |
commit | 8e7611912c74f7cad8cea8d80b6575376c1027f8 (patch) | |
tree | 3063d70e8397901bd7a7baad967d07c7ed60675e /gcc/ada/adaint.h | |
parent | 0784ecd8586f31b393f42dc863d22e839133dac8 (diff) | |
download | gcc-8e7611912c74f7cad8cea8d80b6575376c1027f8.tar.gz |
* adaint.h, adaint.c
(__gnat_portable_spawn): Fix cast of spawnvp third parameter
to avoid warnings.
Add also a cast to kill another warning.
(win32_no_block_spawn): Initialize CreateProcess's dwCreationFlags
parameter with the priority class of the parent process instead of
always using the NORMAL_PRIORITY_CLASS.
(__gnat_dup): New function.
(__gnat_dup2): New function.
(__gnat_is_symbolic_link): Enable the effective body of this
function when __APPLE__ is defined.
* g-os_lib.ads, g-os_lib.adb (Spawn): Two new procedures.
Update comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90899 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/adaint.h')
-rw-r--r-- | gcc/ada/adaint.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ada/adaint.h b/gcc/ada/adaint.h index c45a5332309..ebf99a59bd8 100644 --- a/gcc/ada/adaint.h +++ b/gcc/ada/adaint.h @@ -147,6 +147,8 @@ extern void __gnat_set_binary_mode (int); extern void __gnat_set_text_mode (int); extern char *__gnat_ttyname (int); extern int __gnat_lseek (int, long, int); +extern int __gnat_dup (int); +extern int __gnat_dup2 (int, int); #ifdef __MINGW32__ extern void __gnat_plist_init (void); |