--- trunk/src/UseTheForce/ForceField.cpp 2010/05/10 17:28:26 1442 +++ trunk/src/UseTheForce/ForceField.cpp 2010/07/07 15:04:32 1460 @@ -57,11 +57,13 @@ namespace OpenMD { namespace OpenMD { ForceField::ForceField() { + char* tempPath; tempPath = getenv("FORCE_PARAM_PATH"); - + if (tempPath == NULL) { - ffPath_ = "ORNULL(FRC_PATH)"; + //convert a macro from compiler to a string in c++ + STR_DEFINE(ffPath_, FRC_PATH ); } else { ffPath_ = tempPath; }