summaryrefslogtreecommitdiff
path: root/gcc/ada/g-enblsp-vms-alpha.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/g-enblsp-vms-alpha.adb')
-rw-r--r--gcc/ada/g-enblsp-vms-alpha.adb10
1 files changed, 4 insertions, 6 deletions
diff --git a/gcc/ada/g-enblsp-vms-alpha.adb b/gcc/ada/g-enblsp-vms-alpha.adb
index 4b703263f59..64af051d825 100644
--- a/gcc/ada/g-enblsp-vms-alpha.adb
+++ b/gcc/ada/g-enblsp-vms-alpha.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 2005-2008, AdaCore --
+-- Copyright (C) 2005-2009, AdaCore --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -77,11 +77,9 @@ begin
-- Fork a new process (it is not possible to do this in a subprogram)
- if Alloc_Vfork_Blocks >= 0 then
- Descriptor.Pid := Get_Current_Invo_Context (Get_Vfork_Jmpbuf);
- else
- Descriptor.Pid := -1;
- end if;
+ Descriptor.Pid :=
+ (if Alloc_Vfork_Blocks >= 0
+ then Get_Current_Invo_Context (Get_Vfork_Jmpbuf) else -1);
-- Are we now in the child