From 190d7115723a4a9a3c2c57852e5f828ac13933f3 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 14 Apr 2014 11:44:35 +0200 Subject: [PATCH 3/4] multi_array: fix GCC -Wundef warning Signed-off-by: Michael Stahl --- include/boost/multi_array/base.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/multi_array/base.hpp b/include/boost/multi_array/base.hpp index 0189831..a78e411 100644 --- a/include/boost/multi_array/base.hpp +++ b/include/boost/multi_array/base.hpp @@ -65,7 +65,7 @@ namespace multi_array_types { // 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; -- 1.8.3.1