From ba841a1929d34194fff0fe00ec111efc8038b7ff Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Thu, 3 Jan 2008 18:43:22 +0000 Subject: [PATCH] Got rid of strcasecmp added pragmas changed ifdefs around --- Cantera/src/equil/vcs_prob.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Cantera/src/equil/vcs_prob.cpp b/Cantera/src/equil/vcs_prob.cpp index 6eafc9e8b..8eb072976 100644 --- a/Cantera/src/equil/vcs_prob.cpp +++ b/Cantera/src/equil/vcs_prob.cpp @@ -19,13 +19,13 @@ #include "vcs_species_thermo.h" #include "vcs_internal.h" -#ifdef CANTERA_SRC_TREE -#include "ThermoPhase.h" -#include "MolalityVPSSTP.h" -#else +#ifdef CANTERA_APP #include "cantera/Cantera.h" #include "cantera/kernel/ThermoPhase.h" #include "cantera/kernel/MolalityVPSSTP.h" +#else +#include "ThermoPhase.h" +#include "MolalityVPSSTP.h" #endif #include using namespace std; @@ -388,7 +388,7 @@ void VCS_PROB::addPhaseElements(vcs_VolPhase *volPhase) { */ for (e = 0; e < ne; e++) { en = ElName[e]; - if (!strcasecmp(enVP.c_str(), en.c_str())) { + if (!strcmp(enVP.c_str(), en.c_str())) { volPhase->ElGlobalIndex[eVP] = e; foundPos = e; }