mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 06:32:10 +01:00
gunixmounts: Add stubs for QNX
This commit is contained in:
parent
9d40b0ceb9
commit
4e3b646b4f
@ -956,6 +956,23 @@ _g_get_unix_mounts (void)
|
||||
return return_list;
|
||||
}
|
||||
|
||||
/* QNX {{{2 */
|
||||
#elif defined (HAVE_QNX)
|
||||
|
||||
static char *
|
||||
get_mtab_monitor_file (void)
|
||||
{
|
||||
/* TODO: Not implemented */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static GList *
|
||||
_g_get_unix_mounts (void)
|
||||
{
|
||||
/* TODO: Not implemented */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Common code {{{2 */
|
||||
#else
|
||||
#error No _g_get_unix_mounts() implementation for system
|
||||
@ -1479,6 +1496,14 @@ _g_get_unix_mount_points (void)
|
||||
return _g_get_unix_mounts ();
|
||||
}
|
||||
|
||||
/* QNX {{{2 */
|
||||
#elif defined (HAVE_QNX)
|
||||
static GList *
|
||||
_g_get_unix_mount_points (void)
|
||||
{
|
||||
return _g_get_unix_mounts ();
|
||||
}
|
||||
|
||||
/* Common code {{{2 */
|
||||
#else
|
||||
#error No g_get_mount_table() implementation for system
|
||||
|
@ -773,6 +773,10 @@ if host_system == 'darwin'
|
||||
add_project_link_arguments(osx_ldflags, language : ['objc', 'c'])
|
||||
endif
|
||||
|
||||
if host_system == 'qnx'
|
||||
glib_conf.set('HAVE_QNX', 1)
|
||||
endif
|
||||
|
||||
# Check for futex(2)
|
||||
if cc.links('''#include <linux/futex.h>
|
||||
#include <sys/syscall.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user