summaryrefslogtreecommitdiff
path: root/libs/pbd/pathexpand.cc
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2013-07-17 18:15:51 +0100
committerJohn Emmas <johne53@tiscali.co.uk>2013-07-17 18:15:51 +0100
commit5f15bc9f9fe8decfab02db7821b7b15e1d7d95ac (patch)
tree643463d8f156a7ee6b4daa1c776e5ae2a9da16e0 /libs/pbd/pathexpand.cc
parenteeabf89d19214bb075709009a76b3354c4332ccf (diff)
parent82d351f6ca3214ef77df555aca853e18137b7ab4 (diff)
Merge branch 'windows' of git.ardour.org:ardour/ardour into windows
Diffstat (limited to 'libs/pbd/pathexpand.cc')
-rw-r--r--libs/pbd/pathexpand.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/pbd/pathexpand.cc b/libs/pbd/pathexpand.cc
index ae3bed4599..3f1f1cf670 100644
--- a/libs/pbd/pathexpand.cc
+++ b/libs/pbd/pathexpand.cc
@@ -38,7 +38,7 @@ PBD::canonical_path (const std::string& path)
{
#ifdef COMPILER_MINGW
return path;
-#endif
+#else
char buf[PATH_MAX+1];
if (!realpath (path.c_str(), buf) && (errno != ENOENT)) {
@@ -46,6 +46,7 @@ PBD::canonical_path (const std::string& path)
}
return string (buf);
+#endif
}
string