Re: [Qemu-devel] [PATCH for-1.1 v2] slirp: Avoid redefining MAX_TCPOPTLEN

2012-05-28 Thread Jan Kiszka
On 2012-05-28 19:52, Andreas Färber wrote: > MAX_TCPOPTLEN is being defined as 32. Darwin already has it as 40, > causing a warning. The value is only used to declare an array, > into which currently 4 bytes are written at most. > > Therefore always override MAX_TCPOPTLEN for now. > > Suggested-b

Re: [Qemu-devel] [PATCH for-1.1 v2] slirp: Avoid redefining MAX_TCPOPTLEN

2012-05-28 Thread Stefan Weil
Am 28.05.2012 19:52, schrieb Andreas Färber: MAX_TCPOPTLEN is being defined as 32. Darwin already has it as 40, causing a warning. The value is only used to declare an array, into which currently 4 bytes are written at most. Therefore always override MAX_TCPOPTLEN for now. Suggested-by: Jan Kis

[Qemu-devel] [PATCH for-1.1 v2] slirp: Avoid redefining MAX_TCPOPTLEN

2012-05-28 Thread Andreas Färber
MAX_TCPOPTLEN is being defined as 32. Darwin already has it as 40, causing a warning. The value is only used to declare an array, into which currently 4 bytes are written at most. Therefore always override MAX_TCPOPTLEN for now. Suggested-by: Jan Kiszka Signed-off-by: Andreas Färber --- slirp/