From e95f21d655898563072d224e58aba9abcced3115 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Sun, 26 Nov 2017 17:51:10 +0100 Subject: 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) --- src/path-prefix.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/path-prefix.h') 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_ */ -- cgit v1.2.3