diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-05-05 12:53:47 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-05-05 12:53:47 +0000 |
commit | 7e9b67846448ee0b5897c2ab403d497e2b77059e (patch) | |
tree | 25bf21d888cfb2d17bf911e19ed991aa3ff02337 /newlib/libc/include/stdio.h | |
parent | d8b41bc3d074f0e84fd4645a88d4335f6a41417f (diff) | |
download | cygnal-7e9b67846448ee0b5897c2ab403d497e2b77059e.tar.gz cygnal-7e9b67846448ee0b5897c2ab403d497e2b77059e.tar.bz2 cygnal-7e9b67846448ee0b5897c2ab403d497e2b77059e.zip |
* libc/include/stdio.h: Declare various C99 printf/scanf functions for
C++11, too.
Diffstat (limited to 'newlib/libc/include/stdio.h')
-rw-r--r-- | newlib/libc/include/stdio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/stdio.h b/newlib/libc/include/stdio.h index 95a6d4973..4576f2c69 100644 --- a/newlib/libc/include/stdio.h +++ b/newlib/libc/include/stdio.h @@ -232,7 +232,7 @@ int _EXFUN(fseeko, (FILE *, off_t, int)); off_t _EXFUN(ftello, ( FILE *)); #endif #endif -#if !defined(__STRICT_ANSI__) || (__STDC_VERSION__ >= 199901L) +#if !defined(__STRICT_ANSI__) || (__STDC_VERSION__ >= 199901L) || (__cplusplus >= 201103L) #ifndef _REENT_ONLY int _EXFUN(asiprintf, (char **, const char *, ...) _ATTRIBUTE ((__format__ (__printf__, 2, 3)))); |