diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2017-02-15 15:13:58 +0000 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2017-02-15 15:13:58 +0000 |
commit | 3172b27b2b3b0033e85ddf3566c7533a8f3b4bda (patch) | |
tree | 60b9c9151fde381402925910ba64b5c7a5b73c99 /misc/getdtsz.c | |
parent | 4918e5f4cd63290bb0b2c614f52092ca6a779126 (diff) | |
download | glibc-3172b27b2b3b0033e85ddf3566c7533a8f3b4bda.zip glibc-3172b27b2b3b0033e85ddf3566c7533a8f3b4bda.tar.gz glibc-3172b27b2b3b0033e85ddf3566c7533a8f3b4bda.tar.bz2 |
The internal header include/string.h does not work in C++: it causes link errors
in several C++ debug tests when any of the functions it declares are called.
The best option would be to not use internal headers for tests (unless
explicitly needed). Add guards so that it is safe to use include/string.h from
C++.
* include/string.h: Add __cplusplus check.
Diffstat (limited to 'misc/getdtsz.c')
0 files changed, 0 insertions, 0 deletions