mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 04:56: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
|
* To distinguish between a directory monitor and a regular file monitor, check
|
||||||
* whether sub_file is NULL. */
|
* whether sub_file is NULL. */
|
||||||
typedef struct _GKqueueFileMonitor
|
struct _GKqueueFileMonitor
|
||||||
{
|
{
|
||||||
GLocalFileMonitor parent_instance;
|
GLocalFileMonitor parent_instance;
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ typedef struct _GKqueueFileMonitor
|
|||||||
GFileMonitor *fallback;
|
GFileMonitor *fallback;
|
||||||
GFile *fbfile;
|
GFile *fbfile;
|
||||||
#endif
|
#endif
|
||||||
} GKqueueFileMonitor;
|
};
|
||||||
|
|
||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
#pragma clang diagnostic pop
|
#pragma clang diagnostic pop
|
||||||
|
Loading…
Reference in New Issue
Block a user