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