mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 20:46:14 +01:00
gio: Don't redefine GKqueueFileMonitor
Fixes build on old compilers that don't allow type redefinitions. Closes: https://gitlab.gnome.org/GNOME/glib/issues/1506
This commit is contained in:
parent
b2375471cc
commit
612c450bd4
@ -75,7 +75,7 @@ typedef GLocalFileMonitorClass GKqueueFileMonitorClass;
|
||||
*
|
||||
* To distinguish between a directory monitor and a regular file monitor, check
|
||||
* whether sub_file is NULL. */
|
||||
typedef struct _GKqueueFileMonitor
|
||||
struct _GKqueueFileMonitor
|
||||
{
|
||||
GLocalFileMonitor parent_instance;
|
||||
|
||||
@ -85,7 +85,7 @@ typedef struct _GKqueueFileMonitor
|
||||
GFileMonitor *fallback;
|
||||
GFile *fbfile;
|
||||
#endif
|
||||
} GKqueueFileMonitor;
|
||||
};
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic pop
|
||||
|
Loading…
Reference in New Issue
Block a user