From 5780e35aa3f6ace111a14553cbe203c474f25792 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 17 Jan 2014 10:56:25 +0000 Subject: [PATCH] * include/cygwin/config.h (_STDIO_BSD_SEMANTICS): Define as 1. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/include/cygwin/config.h | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 8cf605a80..fa1e42851 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2014-01-17 Corinna Vinschen + + * include/cygwin/config.h (_STDIO_BSD_SEMANTICS): Define as 1. + 2014-01-16 Christopher Faylor * dtable.h (dtable::lock): Make static. diff --git a/winsup/cygwin/include/cygwin/config.h b/winsup/cygwin/include/cygwin/config.h index 3bea0ecb1..68b469afb 100644 --- a/winsup/cygwin/include/cygwin/config.h +++ b/winsup/cygwin/include/cygwin/config.h @@ -4,7 +4,7 @@ sys/config.h before. This way we can manaage our configuration setting without bothering newlib. - Copyright 2003, 2007, 2008, 2009, 2010, 2012, 2013 Red Hat, Inc. + Copyright 2003, 2007, 2008, 2009, 2010, 2012, 2013, 2014 Red Hat, Inc. Written by C. Vinschen. This file is part of Cygwin. @@ -78,6 +78,7 @@ extern char *_tlsbase __asm__ ("%fs:4"); #define __HAVE_LOCALE_INFO_EXTENDED__ 1 #define _WANT_C99_TIME_FORMATS 1 #define _GLIBC_EXTENSION 1 +#define _STDIO_BSD_SEMANTICS 1 #if defined(__INSIDE_CYGWIN__) || defined(_COMPILING_NEWLIB) #define __EXPORT __declspec(dllexport) #define __IMPORT