From e5875d57c8f67e82511b3f52e6a7fb09f3abf52c Mon Sep 17 00:00:00 2001
From: Paul Mensonides
Date: Wed, 19 Jun 2002 19:10:40 +0000
Subject: [PATCH] modified EDG test
[SVN r14184]
---
include/boost/preprocessor/repeat.hpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/boost/preprocessor/repeat.hpp b/include/boost/preprocessor/repeat.hpp
index 9acd1ac..175f8fd 100644
--- a/include/boost/preprocessor/repeat.hpp
+++ b/include/boost/preprocessor/repeat.hpp
@@ -95,7 +95,7 @@ are directly supported.
#define BOOST_PP_REPEAT_2(C,M,D) BOOST_PP_REPEAT_AUTO_REC2(BOOST_PP_DETAIL_CAT2(BOOST_PP_R2_,C),(M,D))
#define BOOST_PP_REPEAT_3(C,M,D) BOOST_PP_REPEAT_AUTO_REC3(BOOST_PP_DETAIL_CAT2(BOOST_PP_R3_,C),(M,D))
-#if defined __EDG__ // unrolled repeats for EDG front end
+#if defined(__EDG_VERSION__) && (__EDG_VERSION__ <= 245) // unrolled repeats for EDG front end
#include
#else
@@ -489,7 +489,7 @@ are directly supported.
#define BOOST_PP_R3_127(M,D) BOOST_PP_R3_126(M,D) M(126,D)
#define BOOST_PP_R3_128(M,D) BOOST_PP_R3_127(M,D) M(127,D)
-#endif // !__EDG__
+#endif // !(defined(__EDG_VERSION__) && (__EDG_VERSION__ <= 245))
/** Obsolete, just use BOOST_PP_REPEAT().
*/
#define BOOST_PP_REPEAT_2ND BOOST_PP_REPEAT