summaryrefslogtreecommitdiff
path: root/gcc/ada/mingw32.h
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-18 13:55:20 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-18 13:55:20 +0000
commit2e7aba8e1c18ebba49ec9f3dac0e27783cb7dd46 (patch)
treeb998b617536fe7a454d012819334e55dba866659 /gcc/ada/mingw32.h
parentd5dc11f24cee7f0d68daedaa79fe55e407cd2d19 (diff)
downloadgcc-2e7aba8e1c18ebba49ec9f3dac0e27783cb7dd46.tar.gz
2009-09-18 Vincent Celier <celier@adacore.com>
* prj.ads, prj.adb (Project_Data): New component Imported_Directories_Switches. 2009-09-18 Pascal Obry <obry@adacore.com> * mingw32.h: Include standard _mingw.h file. Define _WIN32_WINNT only if not already defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151843 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/mingw32.h')
-rw-r--r--gcc/ada/mingw32.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ada/mingw32.h b/gcc/ada/mingw32.h
index 2ad4d36dfa1..011e90bb270 100644
--- a/gcc/ada/mingw32.h
+++ b/gcc/ada/mingw32.h
@@ -36,6 +36,8 @@
#ifndef _MINGW32_H
#define _MINGW32_H
+#include <_mingw.h>
+
/* The unicode support is activated by default starting with the 3.9 MingW
version. It is not possible to use it with previous version due to a bug
in the MingW runtime. */
@@ -62,7 +64,9 @@
#endif
/* We need functionality available only starting with Windows XP */
+#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
+#endif
#include <tchar.h>
#include <windows.h>