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 \
Reaction.o \
ReadClass.o \
runner.o \
Solution.o \
SolutionIsotope.o \
SolutionIsotopeList.o \

View File

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

View File

@ -381,7 +381,7 @@ bool dumper::Read(CParser & parser)
break;
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))
this->append = true;
if (token.c_str()[0] == 'f' || token.c_str()[0] == 'F')

View File

@ -20,4 +20,4 @@ protected:
double start_time;
StorageBinListItem cells;
};
#endif // !defined(RUNNER_H_INCLUDED)
#endif // !defined(RUNNER_H_INCLUDED)