From b7e616a2a28f976aa190495b5f117cc743a4d857 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Wed, 12 Sep 2007 22:10:46 +0000 Subject: [PATCH] Added a config.h compiler define in, to handle incompatibilities across platforms. --- Cantera/clib/src/Cabinet.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cantera/clib/src/Cabinet.h b/Cantera/clib/src/Cabinet.h index d64d45c8f..00ddedaf9 100755 --- a/Cantera/clib/src/Cabinet.h +++ b/Cantera/clib/src/Cabinet.h @@ -7,6 +7,7 @@ #include #include "stringUtils.h" +#include "config.h" /** * Template for classes to hold pointers to objects. The Cabinet @@ -202,6 +203,8 @@ private: /*! * The actual storage will be allocated in .cpp files */ -template Cabinet* Cabinet::__storage; +#ifdef NEEDS_GENERIC_TEMPL_STATIC_DECL +template Cabinet* Cabinet::__storage; +#endif #endif