Reduces noisy errors

Also avoids code that can't run properly on a Mac anyway.
This commit is contained in:
Lukas Oberhuber 2021-10-09 17:32:58 +01:00
parent d7f93b3aa1
commit 219d9b4e1a
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ _br_find_exe (GimpBinrelocInitError *error)
static char *
_br_find_exe_for_symbol (const void *symbol, GimpBinrelocInitError *error)
{
#if ! defined(ENABLE_RELOCATABLE_RESOURCES) || defined(G_OS_WIN32)
#if ! defined(ENABLE_RELOCATABLE_RESOURCES) || defined(G_OS_WIN32) || defined(__APPLE__)
if (error)
*error = GIMP_RELOC_INIT_ERROR_DISABLED;
return (char *) NULL;