app: fix broken #if test.

Argh! Fixed too quick and completely missed to transform the `ifdef` in
`if defined()` to add a second test.
This commit is contained in:
Jehan 2025-11-20 22:14:28 +01:00
parent 229c835d59
commit 1e800f51a7

View file

@ -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,