More fixes to the tests. Add UTF-8 encoding to all locales that don't specify one. Undefine some stdio.h macros that break the tests.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@140252 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -76,6 +76,30 @@
|
||||
#error stdout not defined
|
||||
#endif
|
||||
|
||||
// As an optimisation, these may be defined as macros in the C header. We want
|
||||
// to check the functions, not the macros.
|
||||
#ifdef puts
|
||||
#undef puts
|
||||
#endif
|
||||
#ifdef putc
|
||||
#undef putc
|
||||
#endif
|
||||
#ifdef getc
|
||||
#undef getc
|
||||
#endif
|
||||
#ifdef putchar
|
||||
#undef putchar
|
||||
#endif
|
||||
#ifdef clearerr
|
||||
#undef clearerr
|
||||
#endif
|
||||
#ifdef feof
|
||||
#undef feof
|
||||
#endif
|
||||
#ifdef ferror
|
||||
#undef ferror
|
||||
#endif
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
int main()
|
||||
|
Reference in New Issue
Block a user