};
#endif
-#if defined(HAVE_SVN_CLIENT_H) or defined(SG_SVN_CLIENT)
+#if defined(HAVE_SVN_CLIENT_H) || defined(SG_SVN_CLIENT)
static const bool svn_built_in_available = true;
#else
static const bool svn_built_in_available = false;
void setUseSvn(bool use_svn) { _use_svn = use_svn;}
void setAllowedErrorCount(int errors) {_allowed_errors = errors;}
-#if defined(HAVE_SVN_CLIENT_H) or defined(SG_SVN_CLIENT)
+#if defined(HAVE_SVN_CLIENT_H) || defined(SG_SVN_CLIENT)
void setUseBuiltin(bool built_in) { _use_built_in = built_in;}
#endif
_success_count(0),
_consecutive_errors(0),
_allowed_errors(6),
-#if defined(HAVE_SVN_CLIENT_H) or defined(SG_SVN_CLIENT)
+#if defined(HAVE_SVN_CLIENT_H) || defined(SG_SVN_CLIENT)
_use_built_in(true),
#endif
_is_dirty(false),
return false;
}
-#if defined(HAVE_SVN_CLIENT_H) or defined(SG_SVN_CLIENT)
+#if defined(HAVE_SVN_CLIENT_H) || defined(SG_SVN_CLIENT)
_use_svn |= _use_built_in;
#endif
_running = true;
string status;
-#if defined(HAVE_SVN_CLIENT_H) or defined(SG_SVN_CLIENT)
+#if defined(HAVE_SVN_CLIENT_H) || defined(SG_SVN_CLIENT)
if (_use_svn && _use_built_in)
status = "Using built-in SVN support. ";
else
}
}
-#if defined(HAVE_SVN_CLIENT_H) or defined(SG_SVN_CLIENT)
+#if defined(HAVE_SVN_CLIENT_H) || defined(SG_SVN_CLIENT)
if (_use_built_in)
return syncTreeInternal(dir);
else
_svnThread->setLocalDir(_terraRoot->getStringValue("scenery-dir",""));
_svnThread->setAllowedErrorCount(_terraRoot->getIntValue("max-errors",5));
- #if defined(HAVE_SVN_CLIENT_H) or defined(SG_SVN_CLIENT)
+ #if defined(HAVE_SVN_CLIENT_H) || defined(SG_SVN_CLIENT)
_svnThread->setUseBuiltin(_terraRoot->getBoolValue("use-built-in-svn",true));
#else
_terraRoot->setBoolValue("use-built-in-svn",false);