Le 29/11/2016 à 16:07, Yuval Shaia a écrit :
> diff --git a/slirp/slirp.h b/slirp/slirp.h
> index a1f3139..3877f66 100644
> --- a/slirp/slirp.h
> +++ b/slirp/slirp.h
> @@ -292,9 +292,4 @@ int tcp_emu(struct socket *, struct mbuf *);
>  int tcp_ctl(struct socket *);
>  struct tcpcb *tcp_drop(struct tcpcb *tp, int err);
>  
> -#ifndef _WIN32
> -#define min(x,y) ((x) < (y) ? (x) : (y))
> -#define max(x,y) ((x) > (y) ? (x) : (y))
> -#endif
> -

It seems the defines have been added because they are already defined
for Win32.

If we remove them, do we know if MIN()/MAX() are defined for Win32?
[CC: host W32 maintainer]

Thanks,
Laurent


Reply via email to