diff --git a/src/prefix.h b/src/prefix.h
index 0406f29f8cc8f2f46a34e07acd8995d32e9ed99e..0c2db5b58a6e0eca98095d69ef88aac720bc3106 100644 (file)
--- a/src/prefix.h
+++ b/src/prefix.h
char *br_extract_dir (const char *path);
char *br_extract_prefix(const char *path);
+#ifdef __WIN32__
+
+/**
+ * Win32 version of a relocatable function
+ */
+char *win32_relative_path(const char *childPath);
+
+#define WIN32_DATADIR(suffix) (win32_relative_path(suffix))
+
+#endif
+
#ifdef __cplusplus
}