]> sourceware.org Git - newlib-cygwin.git/commit
stdio.h: guard function macros with !__cplusplus
authorYaakov Selkowitz <yselkowi@redhat.com>
Tue, 13 Jun 2017 19:51:18 +0000 (14:51 -0500)
committerYaakov Selkowitz <yselkowi@redhat.com>
Wed, 14 Jun 2017 15:18:14 +0000 (10:18 -0500)
commitc347bb64697a380b749ff073dfa25e35c73c19e7
tree25d8e73a2a95914b037284d897fa0957cd5c8f23
parent0d79b021a4ec4e6b9aa1a9f6db0e29a137005ce7
stdio.h: guard function macros with !__cplusplus

While POSIX allows these functions to also be defined as macros in C, in
C++ this is not allowed, and prevents these names (particularly feof) from
being used in a custom namespace.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
newlib/libc/include/stdio.h
This page took 0.031605 seconds and 5 git commands to generate.