aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Rodgers <trodgers@redhat.com>2020-09-11 13:51:07 -0700
committerThomas Rodgers <trodgers@redhat.com>2020-09-11 14:08:13 -0700
commit64064678d6cb48fdc7e039fde15d471960d496d3 (patch)
treeeb044ad99d59edad8d507c3c7ce7ab7deeb6632a
parentf76b0f231b3785bbf49c97173692371f769e4573 (diff)
downloadgcc-64064678d6cb48fdc7e039fde15d471960d496d3.zip
gcc-64064678d6cb48fdc7e039fde15d471960d496d3.tar.gz
gcc-64064678d6cb48fdc7e039fde15d471960d496d3.tar.bz2
libstdc++: only pull in bits/align.h if C++11 or later
libstdc++-v3/ChangeLog: * include/std/memory: Move #include <bits/align.h> inside C++11 conditional includes.
-rw-r--r--libstdc++-v3/include/std/memory2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/std/memory b/libstdc++-v3/include/std/memory
index a56952f..aee7b05 100644
--- a/libstdc++-v3/include/std/memory
+++ b/libstdc++-v3/include/std/memory
@@ -61,7 +61,6 @@
*/
#include <bits/stl_algobase.h>
-#include <bits/align.h>
#include <bits/allocator.h>
#include <bits/stl_construct.h>
#include <bits/stl_uninitialized.h>
@@ -75,6 +74,7 @@
# include <iosfwd> // std::basic_ostream
# include <ext/atomicity.h>
# include <ext/concurrence.h>
+# include <bits/align.h>
# include <bits/functexcept.h>
# include <bits/stl_function.h> // std::less
# include <bits/uses_allocator.h>