Added stub code for linux/mac builds to match the functional ARCH code for discovering libraris in use #4793

This commit is contained in:
Adam Potolsky 2015-06-11 10:00:45 -07:00
parent fa0dfa0ded
commit 3942dc6ee8
3 changed files with 10 additions and 2 deletions

View File

@ -74,3 +74,9 @@ void
ArchSystemUnix::setting(const std::string&, const std::string&) const
{
}
std::string
ArchSystemUnix::getLibsUsed(void) const
{
return "not implmented.\nuse lsof on shell";
}

View File

@ -33,4 +33,6 @@ public:
virtual std::string getPlatformName() const;
virtual std::string setting(const std::string&) const;
virtual void setting(const std::string&, const std::string&) const;
virtual std::string getLibsUsed(void) const;
};

View File

@ -59,7 +59,7 @@ init(void* log, void* arch)
Arch::setInstance(reinterpret_cast<Arch*>(arch));
}
LOG(( CLOG_DEBUG "%s",helperGetLibsUsed().c_str()));
LOG(( CLOG_DEBUG "library use: %s",helperGetLibsUsed().c_str()));
}
int