diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2017-09-04 10:52:33 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2017-09-04 10:52:33 +0200 |
commit | e18b7ffa4893aa1011bae52e6e7a8f1bfcc336d5 (patch) | |
tree | b771e3c0e258780cc413b0669b41f79153b86cc9 /newlib/libc/stdio/getc_u.c | |
parent | ff53f489fa2f7ddf4306fe256de5609ff7a131b0 (diff) | |
download | cygnal-e18b7ffa4893aa1011bae52e6e7a8f1bfcc336d5.tar.gz cygnal-e18b7ffa4893aa1011bae52e6e7a8f1bfcc336d5.tar.bz2 cygnal-e18b7ffa4893aa1011bae52e6e7a8f1bfcc336d5.zip |
stdio.h: Don't define unlocked macros using static inline on C++cygwin-2_9_0-release
In C++, the usage of static inline functions for getchar_unlocked and
putchar_unlocked may result in error messages like
error: ‘_putchar_unlocked’ was not declared in this scope
Fix this by not using the _getchar_unlocked and _putchar_unlocked
macros in C++.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdio/getc_u.c')
0 files changed, 0 insertions, 0 deletions