Unfortunately binreloc doesn't have program code for Windows. Will be added later.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14864 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2006-09-18 20:58:01 +00:00
parent 2596a1d4bd
commit db00d6a259

View File

@ -40,6 +40,14 @@ _br_find_exe (GbrInitError *error)
if (error)
*error = GBR_INIT_ERROR_DISABLED;
return NULL;
#else
#ifdef _WIN32
/* Shoot. I *thought* this program code already included the
relocation code for windows. Unfortunately this is not the
case :-( */
if (error)
*error = GBR_INIT_ERROR_DISABLED;
return NULL;
#else
char *path, *path2, *line, *result;
size_t buf_size;
@ -164,6 +172,7 @@ _br_find_exe (GbrInitError *error)
g_free (line);
fclose (f);
return path;
#endif /* G_OS_WINDOWS */
#endif /* ENABLE_BINRELOC */
}