Split <stdlib.h> out of <cstdlib>.

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

View File

@@ -18,6 +18,30 @@
#pragma clang diagnostic ignored "-Wnonnull"
#endif
#ifdef abs
#error abs is defined
#endif
#ifdef labs
#error labs is defined
#endif
#ifdef llabs
#error llabs is defined
#endif
#ifdef div
#error div is defined
#endif
#ifdef ldiv
#error ldiv is defined
#endif
#ifdef lldiv
#error lldiv is defined
#endif
#ifndef EXIT_FAILURE
#error EXIT_FAILURE not defined
#endif