re PR ada/82393 (Compilation error on cygwin64)
PR ada/82393 * mingw32.h (_O_U8TEXT, _O_U16TEXT, _O_WTEXT): Delete. * sysdep.c (__gnat_set_mode ): Use DJGPP version for Cygwin. From-SVN: r253455
This commit is contained in:
parent
43ea71b175
commit
f64766fde8
@ -1,3 +1,9 @@
|
||||
2017-10-05 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
PR ada/82393
|
||||
* mingw32.h (_O_U8TEXT, _O_U16TEXT, _O_WTEXT): Delete.
|
||||
* sysdep.c (__gnat_set_mode ): Use DJGPP version for Cygwin.
|
||||
|
||||
2017-09-15 Martin Liska <mliska@suse.cz>
|
||||
|
||||
Backport from mainline
|
||||
|
@ -59,16 +59,6 @@
|
||||
#endif
|
||||
#include <windows.h>
|
||||
|
||||
#ifndef _O_U8TEXT
|
||||
#define _O_U8TEXT _O_TEXT
|
||||
#endif
|
||||
#ifndef _O_U16TEXT
|
||||
#define _O_U16TEXT _O_TEXT
|
||||
#endif
|
||||
#ifndef _O_WTEXT
|
||||
#define _O_WTEXT _O_TEXT
|
||||
#endif
|
||||
|
||||
/* After including this file it is possible to use the character t as prefix
|
||||
to routines. If GNAT_UNICODE_SUPPORT is defined then the unicode enabled
|
||||
versions will be used. */
|
||||
|
@ -154,7 +154,7 @@ __gnat_set_text_mode (int handle)
|
||||
WIN_SETMODE (handle, O_TEXT);
|
||||
}
|
||||
|
||||
#ifdef __DJGPP__
|
||||
#if defined (__CYGWIN__) || defined (__DJGPP__)
|
||||
void
|
||||
__gnat_set_mode (int handle, int mode)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user