summaryrefslogtreecommitdiffstats
path: root/chromium/base/atomicops.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/base/atomicops.h')
-rw-r--r--chromium/base/atomicops.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/chromium/base/atomicops.h b/chromium/base/atomicops.h
index 833e1704291..6a5371c75c2 100644
--- a/chromium/base/atomicops.h
+++ b/chromium/base/atomicops.h
@@ -28,10 +28,14 @@
#ifndef BASE_ATOMICOPS_H_
#define BASE_ATOMICOPS_H_
-#include <cassert> // Small C++ header which defines implementation specific
- // macros used to identify the STL implementation.
#include <stdint.h>
+// Small C++ header which defines implementation specific macros used to
+// identify the STL implementation.
+// - libc++: captures __config for _LIBCPP_VERSION
+// - libstdc++: captures bits/c++config.h for __GLIBCXX__
+#include <cstddef>
+
#include "base/base_export.h"
#include "build/build_config.h"