diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2017-11-26 16:51:10 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2017-12-04 18:40:15 +0000 |
| commit | e95f21d655898563072d224e58aba9abcced3115 (patch) | |
| tree | 6686c294fa9cad302cf11c8419e3bb108acabd3c /src/path-prefix.h | |
| parent | Merge branch 'transupdate-master' of gitlab.com:Moini/inkscape (diff) | |
| download | inkscape-e95f21d655898563072d224e58aba9abcced3115.tar.gz inkscape-e95f21d655898563072d224e58aba9abcced3115.zip | |
Pull custom code from prefix.h/cpp
These files are actually part of BinReloc
Inkscape specific code is in path-prefix.h (and now path-prefix.cpp)
Diffstat (limited to 'src/path-prefix.h')
| -rw-r--r-- | src/path-prefix.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/path-prefix.h b/src/path-prefix.h index d6514d832..429b0ba72 100644 --- a/src/path-prefix.h +++ b/src/path-prefix.h @@ -18,9 +18,12 @@ #endif #include "prefix.h" -//#ifdef __cplusplus -//extern "C" { -//#endif /* __cplusplus */ +#ifdef __WIN32__ +char *win32_append_datadir(const char *relative_path); +#define WIN32_DATADIR(suffix) (win32_append_datadir(suffix)) +#undef INKSCAPE_DATADIR +#define INKSCAPE_DATADIR WIN32_DATADIR(NULL) +#endif #ifdef ENABLE_BINRELOC /* The way that we're building now is with a shared library between Inkscape @@ -127,8 +130,4 @@ # endif #endif -//#ifdef __cplusplus -//} -//#endif /* __cplusplus */ - #endif /* _PATH_PREFIX_H_ */ |
