Re: [PATCH spice-server 03/33] build: Detect Windows build and change some definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 02, 2019 at 08:07:22AM -0500, Frediano Ziglio wrote:
> > 
> > On Sat, Dec 22, 2018 at 09:56:38AM -0500, Frediano Ziglio wrote:
> > > 
> > > > Hi
> > > > 
> > > > On Fri, Dec 21, 2018 at 4:03 PM Frediano Ziglio <fziglio@xxxxxxxxxx>
> > > > wrote:
> > > > >
> > > > > Windows needs some specific setting to use network.
> > > > >
> > > > > Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
> > > > 
> > > > with neat below
> > > > Reviewed-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
> > > > 
> > > > > ---
> > > > >  configure.ac       | 18 +++++++++++++++++-
> > > > >  server/Makefile.am |  1 +
> > > > >  2 files changed, 18 insertions(+), 1 deletion(-)
> > > > >
> > > > > diff --git a/configure.ac b/configure.ac
> > > > > index 96e4e66c..a2a81cef 100644
> > > > > --- a/configure.ac
> > > > > +++ b/configure.ac
> > > > > @@ -68,6 +68,18 @@ case $host_cpu in
> > > > >          SPICE_WARNING([spice-server on non-x86_64 architectures has
> > > > >          not
> > > > >          been extensively tested])
> > > > >  esac
> > > > >
> > > > > +AC_MSG_CHECKING([for native Win32])
> > > > > +case "$host_os" in
> > > > > +     *mingw*|*cygwin*)
> > > > > +        os_win32=yes
> 
> Like
> 
> AC_DEFINE([_WIN32_WINNT], [0x600], [Minimal Win32 version])]
> 
> ??

Yes, looks good. By putting this in config.h, everything is centralized
in one place rather than sometimes being in Makefile.am, sometimes in
configure.ac.

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]