diff --git a/gio/giomodule.c b/gio/giomodule.c index ca1daf2a8..e75e48d69 100644 --- a/gio/giomodule.c +++ b/gio/giomodule.c @@ -1270,9 +1270,6 @@ _g_io_modules_ensure_loaded (void) #if defined(HAVE_INOTIFY_INIT1) g_type_ensure (g_inotify_file_monitor_get_type ()); #endif -#if defined(HAVE_KQUEUE) - g_type_ensure (g_kqueue_file_monitor_get_type ()); -#endif #if defined(HAVE_FEN) g_type_ensure (g_fen_file_monitor_get_type ()); #endif diff --git a/gio/giounix-private.c b/gio/giounix-private.c index c535a0896..54fae5b84 100644 --- a/gio/giounix-private.c +++ b/gio/giounix-private.c @@ -91,7 +91,7 @@ _g_fd_is_pollable (int fd) close (efd); return add_succeeded; -#elif defined (HAVE_KQUEUE) +#elif 0 /* * Apple OSes and BSDs * diff --git a/gio/meson.build b/gio/meson.build index 49a37a7bd..0c15eb55b 100644 --- a/gio/meson.build +++ b/gio/meson.build @@ -758,11 +758,11 @@ if glib_conf.has('HAVE_SYS_INOTIFY_H') and have_func_inotify_init1 endif # kevent -if have_func_kqueue and have_func_kevent - subdir('kqueue') - internal_deps += [ kqueue_lib ] - internal_objects += [kqueue_lib.extract_all_objects()] -endif +#if have_func_kqueue and have_func_kevent +# subdir('kqueue') +# internal_deps += [ kqueue_lib ] +# internal_objects += [kqueue_lib.extract_all_objects()] +#endif if host_system == 'windows' subdir('win32')