From 37abc6b09bf4e956c3edf7c3c9e283afac907747 Mon Sep 17 00:00:00 2001 From: syntheticpp Date: Fri, 16 Sep 2005 14:03:07 +0000 Subject: [PATCH] include src files directly git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@245 7ec92016-0320-0410-acc4-a06ded1c099a --- tools/RegressionTest/SingletonTest.h | 4 ++++ tools/RegressionTest/SmallObjectTest.h | 11 +++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/tools/RegressionTest/SingletonTest.h b/tools/RegressionTest/SingletonTest.h index 34f7862..0bf56e2 100644 --- a/tools/RegressionTest/SingletonTest.h +++ b/tools/RegressionTest/SingletonTest.h @@ -155,6 +155,10 @@ private: bool singletonTest; } singletonTest; +#ifdef LOKI_NONCC #include "../../include/noncc/loki/Singleton.cpp" +#else +#include "../../src/Singleton.cpp" +#endif #endif diff --git a/tools/RegressionTest/SmallObjectTest.h b/tools/RegressionTest/SmallObjectTest.h index 04ed4b7..4e21477 100644 --- a/tools/RegressionTest/SmallObjectTest.h +++ b/tools/RegressionTest/SmallObjectTest.h @@ -162,7 +162,14 @@ private: } smallObjectTest; #ifndef SMALLOBJ_CPP -# define SMALLOBJ_CPP -# include "../../include/noncc/loki/SmallObj.cpp" +# define SMALLOBJ_CPP +# ifdef LOKI_NONCC +# include "../../include/noncc/loki/SmallObj.cpp" +# else +# include "../../src/SmallObj.cpp" +# endif #endif + + + #endif