Add condition for HP-UX.

This commit is contained in:
Benjamin Goose 2011-10-20 09:01:58 +02:00
parent 7d6b76e1d1
commit 463b105d98
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ std::string Path::simplifyPath(const char *originalPath)
bool Path::sameFileName(const std::string &fname1, const std::string &fname2)
{
#if defined(__linux__) || defined(__sun)
#if defined(__linux__) || defined(__sun) || defined(__hpux)
return bool(fname1 == fname2);
#elif defined(__GNUC__)
return bool(strcasecmp(fname1.c_str(), fname2.c_str()) == 0);