libgcc2.c (L_trampoline): Include windows.h for mingw targets.

2011-06-09  Kai Tietz  <ktietz@redhat.com>

        * libgcc2.c (L_trampoline): Include windows.h for mingw targets.

From-SVN: r174860
This commit is contained in:
Kai Tietz 2011-06-09 23:10:25 +02:00 committed by Kai Tietz
parent d5a9738b2f
commit bf806a90c9
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2011-06-09 Kai Tietz <ktietz@redhat.com>
* libgcc2.c (L_trampoline): Include windows.h for mingw targets.
2011-06-09 Eric Botcazou <ebotcazou@adacore.com>
* config/sparc/sparc.md (return_internal): Adjust 'length' attribute.

View File

@ -2032,6 +2032,7 @@ __clear_cache (char *beg __attribute__((__unused__)),
/* Jump to a trampoline, loading the static chain address. */
#if defined(WINNT) && ! defined(__CYGWIN__)
#include <windows.h>
int getpagesize (void);
int mprotect (char *,int, int);