mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
2596a1d4bd
commit
db00d6a259
@ -40,6 +40,14 @@ _br_find_exe (GbrInitError *error)
|
|||||||
if (error)
|
if (error)
|
||||||
*error = GBR_INIT_ERROR_DISABLED;
|
*error = GBR_INIT_ERROR_DISABLED;
|
||||||
return NULL;
|
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
|
#else
|
||||||
char *path, *path2, *line, *result;
|
char *path, *path2, *line, *result;
|
||||||
size_t buf_size;
|
size_t buf_size;
|
||||||
@ -164,6 +172,7 @@ _br_find_exe (GbrInitError *error)
|
|||||||
g_free (line);
|
g_free (line);
|
||||||
fclose (f);
|
fclose (f);
|
||||||
return path;
|
return path;
|
||||||
|
#endif /* G_OS_WINDOWS */
|
||||||
#endif /* ENABLE_BINRELOC */
|
#endif /* ENABLE_BINRELOC */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user