Split <stdio.h> out of <cstdio>.

As with <stddef.h>, skip our custom header if __need_FILE or __need___FILE is defined.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@249798 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Richard Smith
2015-10-09 01:29:09 +00:00
parent 45bae0b7dc
commit ff7ba4da7d
3 changed files with 147 additions and 10 deletions

View File

@@ -13,6 +13,26 @@
#include <type_traits>
#include "test_macros.h"
#ifdef getc
#error getc is defined
#endif
#ifdef putc
#error putc is defined
#endif
#ifdef clearerr
#error clearerr is defined
#endif
#ifdef feof
#error feof is defined
#endif
#ifdef ferror
#error ferror is defined
#endif
#ifndef BUFSIZ
#error BUFSIZ not defined
#endif