From 56548239ebded4ba9f0cbcc239d5e058d4962aba Mon Sep 17 00:00:00 2001 From: Dave Goodwin Date: Fri, 10 Nov 2006 13:48:48 +0000 Subject: [PATCH] minor cleanup --- Cantera/src/CVodesIntegrator.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Cantera/src/CVodesIntegrator.h b/Cantera/src/CVodesIntegrator.h index 07d828d7f..b4bd6f5b4 100644 --- a/Cantera/src/CVodesIntegrator.h +++ b/Cantera/src/CVodesIntegrator.h @@ -13,6 +13,8 @@ #ifndef CT_CVODESWRAPPER_H #define CT_CVODESWRAPPER_H +#ifdef HAS_SUNDIALS + #ifdef WIN32 #pragma warning(disable:4786) #pragma warning(disable:4503) @@ -23,10 +25,11 @@ #include "ctexceptions.h" #include "ct_defs.h" -//#include -//#include - +#ifdef SUNDIALS_VERSION_22 +#include +#else #include +#endif namespace Cantera { @@ -106,4 +109,6 @@ namespace Cantera { } // namespace +#endif + #endif