aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/expect.c
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-11-30 15:28:21 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2009-11-30 15:28:21 +0100
commit0727601add7a6b06c1b114389707878a33b731a6 (patch)
treef1d314e310e2f974d4f736f5f0aac7a9c88a149d /gcc/ada/expect.c
parent90e9a6bef63cb79b87f6c7e58133f7e4cc9de52c (diff)
downloadgcc-0727601add7a6b06c1b114389707878a33b731a6.zip
gcc-0727601add7a6b06c1b114389707878a33b731a6.tar.gz
gcc-0727601add7a6b06c1b114389707878a33b731a6.tar.bz2
[multiple changes]
2009-11-30 Jerome Lambourg <lambourg@adacore.com> * exp_ch3.adb (Make_Predefined_Primitive_Specs): Improve comment for the Value_Type case. 2009-11-30 Thomas Quinot <quinot@adacore.com> * a-textio.adb: Minor reformatting 2009-11-30 Pascal Obry <obry@adacore.com> * adaint.c: Fix bug in passing parameter. * expect.c: Include io.h to get definition of _open_osfhandle From-SVN: r154810
Diffstat (limited to 'gcc/ada/expect.c')
-rw-r--r--gcc/ada/expect.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/ada/expect.c b/gcc/ada/expect.c
index c11a3aa..c013feb 100644
--- a/gcc/ada/expect.c
+++ b/gcc/ada/expect.c
@@ -78,12 +78,11 @@
#ifdef _WIN32
-/* We need functionality available only starting with Windows XP */
-#define _WIN32_WINNT 0x0501
-
#include <windows.h>
#include <process.h>
#include <signal.h>
+#include <io.h>
+#include "mingw32.h"
void
__gnat_kill (int pid, int sig, int close)