aboutsummaryrefslogtreecommitdiffhomepage
path: root/qbuffers.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-22 13:53:40 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-22 13:53:40 +0100
commit32d9c760b3ad78e6a62c2144647aac0a220c06fb (patch)
tree6b766464179df26abe8707b11f549c1b65eb44f0 /qbuffers.h
parent7ac3c26c927d636c0f2331f00d5a5c11aec8a2ff (diff)
Windows (MinGW32) compatibility changes
* mainly we need a custom get_absolute_path() function using Win32 API * also the windows.h conflicts with some other headers (esp. BSD headers) * also there was a typo in the code setting file attributes
Diffstat (limited to 'qbuffers.h')
-rw-r--r--qbuffers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/qbuffers.h b/qbuffers.h
index ace3358..2954388 100644
--- a/qbuffers.h
+++ b/qbuffers.h
@@ -24,6 +24,11 @@ is_glob_pattern(const gchar *str)
return strchr(str, '*') || strchr(str, '?');
}
+/*
+ * Get absolute/full version of a possibly relative path.
+ * Works with existing and non-existing paths (in the latter case,
+ * heuristics may be applied.)
+ */
gchar *get_absolute_path(const gchar *path);
/*