From 1e800f51a72ef861a48de42a71ea11079a8abea6 Mon Sep 17 00:00:00 2001 From: Jehan Date: Thu, 20 Nov 2025 22:14:28 +0100 Subject: [PATCH] app: fix broken #if test. Argh! Fixed too quick and completely missed to transform the `ifdef` in `if defined()` to add a second test. --- app/core/gimplink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/gimplink.c b/app/core/gimplink.c index cce66cc4d5..de0f411ce1 100644 --- a/app/core/gimplink.c +++ b/app/core/gimplink.c @@ -374,7 +374,7 @@ gimp_link_start_monitoring (GimpLink *link) * TODO: remove the top #ifdef when we bump the GLib requirement. */ link->p->monitor = g_file_monitor (link->p->file, -#ifdef G_OS_WIN32 && ! GLIB_CHECK_VERSION(2, 86, 3) +#if defined(G_OS_WIN32) && ! GLIB_CHECK_VERSION(2, 86, 3) G_FILE_MONITOR_NONE, #else G_FILE_MONITOR_WATCH_HARD_LINKS,