Author: ericwf Date: Wed Dec 28 00:15:01 2016 New Revision: 290658 URL: http://llvm.org/viewvc/llvm-project?rev=290658&view=rev Log: Ensure <__debug> gets the nullptr definition in C++03
Modified: libcxx/trunk/include/__debug Modified: libcxx/trunk/include/__debug URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__debug?rev=290658&r1=290657&r2=290658&view=diff ============================================================================== --- libcxx/trunk/include/__debug (original) +++ libcxx/trunk/include/__debug Wed Dec 28 00:15:01 2016 @@ -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> _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits