]> git.ipfire.org Git - thirdparty/gcc.git/commit
Makefile.in (LIBGNAT_TARGET_PAIRS [windows targets]): Correctly detect cygwin...
authorDave Korn <dave.korn.cygwin@gmail.com>
Tue, 6 Dec 2011 20:31:31 +0000 (20:31 +0000)
committerDave Korn <davek@gcc.gnu.org>
Tue, 6 Dec 2011 20:31:31 +0000 (20:31 +0000)
commit5fa3ea21352a956a05859c65a2107f019c16013c
tree6005299b48b36986550a31c13d9a70d4ec01a4ce
parent8535715d0fb7c430787c257a9fc14cb34794e676
Makefile.in (LIBGNAT_TARGET_PAIRS [windows targets]): Correctly detect cygwin...

* gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS [windows targets]):
Correctly detect cygwin, which no longer has the '32' suffix, and use
appropriate implementations of the sockets and memory packages.
* sysdep.c (WIN_SETMODE): New define to choose the correct spelling of
setmode/_setmode for MinGW and Cygwin, respectively.
(__gnat_set_binary_mode [windows targets]): Use the above, and enable
the windows version for Cygwin as well as MinGW.
(__gnat_set_text_mode [windows targets]): Likewise.
(__gnat_ttyname [windows targets]): Provide a Cygwin implementation
in addition to the MinGW version.
(__gnat_is_windows_xp): Make available to Cygwin as well as MinGW.
(__gnat_get_stack_bounds): Likewise.

From-SVN: r182065
gcc/ada/ChangeLog
gcc/ada/gcc-interface/Makefile.in
gcc/ada/sysdep.c