Modifications for Linux.

git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@3736 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
David L Parkhurst 2009-11-02 15:34:29 +00:00
parent b3b22f3fd5
commit c73fc4b2e9
4 changed files with 4 additions and 6 deletions

View File

@ -180,6 +180,7 @@ COMMON_CXXOBJS = \
PPassemblage.o \ PPassemblage.o \
Reaction.o \ Reaction.o \
ReadClass.o \ ReadClass.o \
runner.o \
Solution.o \ Solution.o \
SolutionIsotope.o \ SolutionIsotope.o \
SolutionIsotopeList.o \ SolutionIsotopeList.o \

View File

@ -2334,11 +2334,8 @@ int
run_as_cells(void) run_as_cells(void)
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
{ {
int count_steps, use_mix, m;
char token[2 * MAX_LENGTH];
struct save save_data; struct save save_data;
LDBLE kin_time; LDBLE kin_time;
struct kinetics *kinetics_ptr;
state = REACTION; state = REACTION;
if (run_info.Get_cells().Get_numbers().size() == 0 || if (run_info.Get_cells().Get_numbers().size() == 0 ||

View File

@ -381,7 +381,7 @@ bool dumper::Read(CParser & parser)
break; break;
case 15: //append case 15: //append
{ {
CParser::TOKEN_TYPE j = parser.copy_token(token, next_char); parser.copy_token(token, next_char);
//if (!(parser.get_iss() >> this->append)) //if (!(parser.get_iss() >> this->append))
this->append = true; this->append = true;
if (token.c_str()[0] == 'f' || token.c_str()[0] == 'F') if (token.c_str()[0] == 'f' || token.c_str()[0] == 'F')