forked from AuroraMiddleware/gtk
broadway: Only use gio-unix on G_OS_UNIX
This commit is contained in:
parent
050702494b
commit
d4dacc596f
@ -382,7 +382,9 @@ AC_SUBST(DISABLE_ON_QUARTZ)
|
||||
if test "x$enable_broadway_backend" = xyes; then
|
||||
GDK_BACKENDS="$GDK_BACKENDS broadway"
|
||||
cairo_backends="$cairo_backends cairo"
|
||||
have_gio_unix=yes
|
||||
if test "$os_unix" = "yes"; then
|
||||
have_gio_unix=yes
|
||||
fi
|
||||
GDK_WINDOWING="$GDK_WINDOWING
|
||||
#define GDK_WINDOWING_BROADWAY"
|
||||
GDK_EXTRA_LIBS="$GDK_EXTRA_LIBS -lz"
|
||||
|
@ -10,7 +10,9 @@
|
||||
|
||||
#include <glib.h>
|
||||
#include <gio/gio.h>
|
||||
#ifdef G_OS_UNIX
|
||||
#include <gio/gunixsocketaddress.h>
|
||||
#endif
|
||||
|
||||
#include "broadway-server.h"
|
||||
|
||||
|
@ -12,7 +12,9 @@
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gprintf.h>
|
||||
#ifdef G_OS_UNIX
|
||||
#include <gio/gunixsocketaddress.h>
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
Loading…
Reference in New Issue
Block a user