Commit 4b49c44b authored by Tarnyko's avatar Tarnyko Committed by Alexander Larsson

win32: Make broadway build

parent 7702c6a5
...@@ -704,7 +704,7 @@ AC_CHECK_HEADERS(pwd.h, ...@@ -704,7 +704,7 @@ AC_CHECK_HEADERS(pwd.h,
[Define to 1 if pwd.h is available])) [Define to 1 if pwd.h is available]))
AC_CHECK_HEADERS(sys/mman.h, AC_CHECK_HEADERS(sys/mman.h,
AC_DEFINE(HAVE_SYS_MMAN_H, 1, AC_DEFINE(HAVE_SYS_MMAN_H, 1,
[Define to 1 if time.h is available])) [Define to 1 if mman.h is available]))
AC_CHECK_HEADERS(sys/time.h, AC_CHECK_HEADERS(sys/time.h,
AC_DEFINE(HAVE_SYS_TIME_H, 1, AC_DEFINE(HAVE_SYS_TIME_H, 1,
[Define to 1 if time.h is available])) [Define to 1 if time.h is available]))
......
...@@ -72,8 +72,10 @@ libgdk_broadway_la_SOURCES = \ ...@@ -72,8 +72,10 @@ libgdk_broadway_la_SOURCES = \
gdkbroadway-server.h \ gdkbroadway-server.h \
gdkbroadway-server.c gdkbroadway-server.c
if OS_UNIX
libgdk_broadway_la_LIBADD = \ libgdk_broadway_la_LIBADD = \
-lrt -lrt
endif
broadwayd_SOURCES = \ broadwayd_SOURCES = \
broadway-protocol.h \ broadway-protocol.h \
......
...@@ -475,7 +475,7 @@ main (int argc, char *argv[]) ...@@ -475,7 +475,7 @@ main (int argc, char *argv[])
#ifdef G_OS_UNIX #ifdef G_OS_UNIX
display = ":0"; display = ":0";
#else #else
display = ":tcp" display = ":tcp";
#endif #endif
} }
......
...@@ -105,7 +105,7 @@ _gdk_broadway_server_new (const char *display, GError **error) ...@@ -105,7 +105,7 @@ _gdk_broadway_server_new (const char *display, GError **error)
#ifdef G_OS_UNIX #ifdef G_OS_UNIX
display = ":0"; display = ":0";
#else #else
display = ":tcp" display = ":tcp";
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment