about summary refs log tree commit diff
path: root/stdio-common/tst-gets.c
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2017-08-14 17:51:51 -0300
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2017-08-18 12:19:28 -0300
commit6913ad65e00bb32417ad39c41d292b976171e27e (patch)
treecba357292847805be3e6220523fbaa7ac50672ba /stdio-common/tst-gets.c
parent47a67213a9f51c5f8816d240500b10db605d8b77 (diff)
downloadglibc-6913ad65e00bb32417ad39c41d292b976171e27e.tar.gz
glibc-6913ad65e00bb32417ad39c41d292b976171e27e.tar.xz
glibc-6913ad65e00bb32417ad39c41d292b976171e27e.zip
Do not use generic selection in C++ mode
The logic to protect the use of generic selection (_Generic) does not
check for C or C++ mode, however, generic selection is a C-only
feature.

Tested for powerpc64le.

	* misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
	in C++ mode.
Diffstat (limited to 'stdio-common/tst-gets.c')
0 files changed, 0 insertions, 0 deletions