office-gobmx/external/boost/boost.multi_array.Wundef.warnings.patch
Michael Stahl c0def0a41f boost: split boost.wundef.patch
Change-Id: I16c2235dd72f86b7659d92aa1c72b573ccadacb7
2014-04-14 17:42:27 +02:00

11 lines
497 B
Diff

--- foo/foo/foo/boost/multi_array/base.hpp
+++ foo/foo/foo/boost/multi_array/base.hpp
@@ -65,7 +65,7 @@
// object creation in small-memory environments. Thus, the objects
// can be left undefined by defining BOOST_MULTI_ARRAY_NO_GENERATORS
// before loading multi_array.hpp.
-#if !BOOST_MULTI_ARRAY_NO_GENERATORS
+#if !defined(BOOST_MULTI_ARRAY_NO_GENERATORS) || !BOOST_MULTI_ARRAY_NO_GENERATORS
namespace {
multi_array_types::extent_gen extents;
multi_array_types::index_gen indices;