From d5ae0257f23bc96dc0038ade3fbd529127e97ee6 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Wed, 28 Dec 2016 06:15:01 +0000 Subject: Ensure <__debug> gets the nullptr definition in C++03 llvm-svn: 290658 --- libcxx/include/__debug | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libcxx/include/__debug') 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 +#endif + #if _LIBCPP_DEBUG_LEVEL >= 1 || defined(_LIBCPP_BUILDING_LIBRARY) # include # include -- cgit v1.2.3