From 463b105d984d2adae178567ff05a25c696496428 Mon Sep 17 00:00:00 2001 From: Benjamin Goose Date: Thu, 20 Oct 2011 09:01:58 +0200 Subject: [PATCH] Add condition for HP-UX. --- lib/path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/path.cpp b/lib/path.cpp index f31bfd665..f1c26aec0 100644 --- a/lib/path.cpp +++ b/lib/path.cpp @@ -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);