mirror of git://gcc.gnu.org/git/gcc.git
* ssp.c (_PATH_TTY): Define as "CONOUT$" for _WIN32.
From-SVN: r143862
This commit is contained in:
parent
def88a88c4
commit
00f97e5a1a
|
@ -1,3 +1,7 @@
|
||||||
|
2009-02-02 Danny Smith <dannysmith@users.sourcforge.net>
|
||||||
|
|
||||||
|
* ssp.c (_PATH_TTY): Define as "CONOUT$" for _WIN32.
|
||||||
|
|
||||||
2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
* configure: Regenerate.
|
* configure: Regenerate.
|
||||||
|
|
|
@ -50,8 +50,14 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
|
||||||
# include <paths.h>
|
# include <paths.h>
|
||||||
#endif
|
#endif
|
||||||
#ifndef _PATH_TTY
|
#ifndef _PATH_TTY
|
||||||
|
/* Native win32 apps don't know about /dev/tty but can print directly
|
||||||
|
to the console using "CONOUT$" */
|
||||||
|
#if defined (_WIN32) && !defined (__CYGWIN__)
|
||||||
|
# define _PATH_TTY "CONOUT$"
|
||||||
|
#else
|
||||||
# define _PATH_TTY "/dev/tty"
|
# define _PATH_TTY "/dev/tty"
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#ifdef HAVE_SYSLOG_H
|
#ifdef HAVE_SYSLOG_H
|
||||||
# include <syslog.h>
|
# include <syslog.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue