[gimp] Reduces noisy errors
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Reduces noisy errors
- Date: Sat, 9 Oct 2021 17:53:28 +0000 (UTC)
commit 219d9b4e1a5a9abc5740e137d194aa44357d1bca
Author: Lukas Oberhuber <lukaso gmail com>
Date: Sat Oct 9 17:32:58 2021 +0100
Reduces noisy errors
Also avoids code that can't run properly on a Mac anyway.
libgimpbase/gimpreloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgimpbase/gimpreloc.c b/libgimpbase/gimpreloc.c
index c2e9eed879..afa9e26bae 100644
--- a/libgimpbase/gimpreloc.c
+++ b/libgimpbase/gimpreloc.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]