Remove undefines in cstdio test. Fix these properly rather than bodging the tests.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@140264 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Chisnall 2011-09-21 17:37:18 +00:00
parent 86698890db
commit 2fb1a9d1e8

View File

@ -76,30 +76,6 @@
#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()