22 #ifndef _RELOCATABLE_H 23 #define _RELOCATABLE_H 26 #if ENABLE_RELOCATABLE 31 #if defined _MSC_VER && BUILDING_DLL 32 # define RELOCATABLE_DLL_EXPORTED __declspec(dllexport) 34 # define RELOCATABLE_DLL_EXPORTED 42 extern RELOCATABLE_DLL_EXPORTED
void 43 set_relocation_prefix (
const char *orig_prefix,
44 const char *curr_prefix);
48 extern const char *
relocate (
const char *pathname);
58 extern const char * compute_curr_prefix (
const char *orig_installprefix,
59 const char *orig_installdir,
60 const char *curr_pathname);
65 #define relocate(pathname) (pathname) #define relocate(pathname)