diff options
author | John Emmas <johne53@tiscali.co.uk> | 2013-07-17 08:08:46 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2013-07-17 08:08:46 +0100 |
commit | 350ed31655b00f3043e5d723606cdd50099fa91b (patch) | |
tree | 88190e6aa65a8e5668fe84c98dc158a135c4af3a /libs/pbd/file_utils.cc | |
parent | 105652ad09fa4898d2fadd791802406c3f1afbec (diff) |
Remaining changes needed for building libpdb on Windows (except for adding the extra JE source modules)
Diffstat (limited to 'libs/pbd/file_utils.cc')
-rw-r--r-- | libs/pbd/file_utils.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/pbd/file_utils.cc b/libs/pbd/file_utils.cc index 311a3948ef..03c3ea853c 100644 --- a/libs/pbd/file_utils.cc +++ b/libs/pbd/file_utils.cc @@ -192,9 +192,9 @@ get_absolute_path (const std::string & p) bool equivalent_paths (const std::string& a, const std::string& b) { - struct stat bA; + GStatBuf bA; int const rA = g_stat (a.c_str(), &bA); - struct stat bB; + GStatBuf bB; int const rB = g_stat (b.c_str(), &bB); return (rA == 0 && rB == 0 && bA.st_dev == bB.st_dev && bA.st_ino == bB.st_ino); @@ -225,7 +225,7 @@ exists_and_writable (const std::string & p) make us unwritable. */ - struct stat statbuf; + GStatBuf statbuf; if (g_stat (p.c_str(), &statbuf) != 0) { /* doesn't exist - not writable */ |