summaryrefslogtreecommitdiff
path: root/include/__debug
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-12-28 06:15:01 +0000
committerEric Fiselier <eric@efcs.ca>2016-12-28 06:15:01 +0000
commit32eebb71f71e48bbc59f4db24e76fbc875f03769 (patch)
tree2b7d3807931adf640173906954d005a8421ece2b /include/__debug
parentfb342388dfd049d10bd7374da9a91a64d09ee3ef (diff)
Ensure <__debug> gets the nullptr definition in C++03
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290658 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/__debug')
-rw-r--r--include/__debug4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/__debug b/include/__debug
index 2a4571024..f8c1129a3 100644
--- a/include/__debug
+++ b/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>