diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-12-28 06:15:01 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-12-28 06:15:01 +0000 |
commit | d5ae0257f23bc96dc0038ade3fbd529127e97ee6 (patch) | |
tree | 05381556dedf070626533bd727f240954c781ea5 | |
parent | 2e519579f7111c5c4383cbf69052b4251ff285bb (diff) | |
download | bcm5719-llvm-d5ae0257f23bc96dc0038ade3fbd529127e97ee6.tar.gz bcm5719-llvm-d5ae0257f23bc96dc0038ade3fbd529127e97ee6.zip |
Ensure <__debug> gets the nullptr definition in C++03
llvm-svn: 290658
-rw-r--r-- | libcxx/include/__debug | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/__debug b/libcxx/include/__debug index 2a457102401..f8c1129a369 100644 --- a/libcxx/include/__debug +++ b/libcxx/include/__debug @@ -17,6 +17,10 @@ #pragma GCC system_header #endif +#if defined(_LIBCPP_HAS_NO_NULLPTR) +# include <cstddef> +#endif + #if _LIBCPP_DEBUG_LEVEL >= 1 || defined(_LIBCPP_BUILDING_LIBRARY) # include <cstdlib> # include <cstdio> |