aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/adaint.h
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2015-01-27 17:20:27 +0000
committerBernd Edlinger <edlinger@gcc.gnu.org>2015-01-27 17:20:27 +0000
commit7e8338d861d338dcf608d9ba8fb4a0289e44820e (patch)
tree65b88803aa80d9a260c652c7dcd3cd08fca8236b /gcc/ada/adaint.h
parentb833dedd61dac54df19512744772c6765c6d33a4 (diff)
downloadgcc-7e8338d861d338dcf608d9ba8fb4a0289e44820e.zip
gcc-7e8338d861d338dcf608d9ba8fb4a0289e44820e.tar.gz
gcc-7e8338d861d338dcf608d9ba8fb4a0289e44820e.tar.bz2
Fix build under cygwin/64.
2015-01-27 Bernd Edlinger <bernd.edlinger@hotmail.de> Fix build under cygwin/64. * adaint.h: Add check for __CYGWIN__. * mingw32.h: Prevent windows.h from including x86intrin.h in GCC. From-SVN: r220180
Diffstat (limited to 'gcc/ada/adaint.h')
-rw-r--r--gcc/ada/adaint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/adaint.h b/gcc/ada/adaint.h
index b0e66cc..c53a8bf 100644
--- a/gcc/ada/adaint.h
+++ b/gcc/ada/adaint.h
@@ -36,7 +36,7 @@ extern "C" {
#include <sys/stat.h>
#include <stdio.h>
-#ifdef _WIN32
+#if defined (_WIN32) || defined (__CYGWIN__)
#include "mingw32.h"
#endif