Fix Ada bootstrap on Cygwin64
commitcc7e4de998cd2a31eb7c834fd427e7f16a99d60a
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 4 May 2020 21:32:39 +0000 (4 23:32 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 4 May 2020 21:37:33 +0000 (4 23:37 +0200)
tree441c064f3c91f62f8ce74fa949b332bcaae402aa
parent5e681acd3587285cc3c8c6d603e4ce93cf6dacf2
Fix Ada bootstrap on Cygwin64

This fixes two compilation errors preventing bootstrap with Ada
on x86_64-pc-cygwin.

2020-05-04  Mikael Pettersson  <mikpelinux@gmail.com>

PR bootstrap/94918
* mingw32.h: Prevent windows.h from including emmintrin.h on Cygw64.
* s-oscons-tmplt.c (Serial_Port_Descriptor): Use System.Win32.HANDLE
also on Cygwin.
gcc/ada/ChangeLog
gcc/ada/mingw32.h
gcc/ada/s-oscons-tmplt.c