summaryrefslogtreecommitdiffstats
path: root/src/prefix.h
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-04-02 23:47:43 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-04-02 23:47:43 +0000
commita870a3f925fe2dd16a60f48a956af772988b805b (patch)
tree67af056885662f73d181898f742a7c03a3898a34 /src/prefix.h
parent99% German translation update. (diff)
downloadinkscape-a870a3f925fe2dd16a60f48a956af772988b805b.tar.gz
inkscape-a870a3f925fe2dd16a60f48a956af772988b805b.zip
Fix command line invocation on Windows (LP #167455).
Fixed bugs: - https://launchpad.net/bugs/167455 (bzr r9281)
Diffstat (limited to 'src/prefix.h')
-rw-r--r--src/prefix.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/prefix.h b/src/prefix.h
index 0c2db5b58..af96fa746 100644
--- a/src/prefix.h
+++ b/src/prefix.h
@@ -114,20 +114,19 @@ char *br_strcat (const char *str1, const char *str2);
char *br_extract_dir (const char *path);
char *br_extract_prefix(const char *path);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#ifdef __WIN32__
-/**
- * Win32 version of a relocatable function
- */
+#include <glibmm/ustring.h>
+
+Glib::ustring win32_getExePath();
char *win32_relative_path(const char *childPath);
#define WIN32_DATADIR(suffix) (win32_relative_path(suffix))
#endif
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
#endif /* _PREFIX_H_ */