Re: [libvirt] [PATCH] virnetlink: fix build on non-Linux

2015-01-06 Thread Cedric Bosdonnat
Hi Eric, On Mon, 2015-01-05 at 15:13 -0700, Eric Blake wrote: > Commit 4dc04d3a added virNetlinkGetErrorCode, but forgot to provide > a fallback, which kills the build on mingw (among others): > > CCLD libvirt.la > Cannot export virNetlinkGetErrorCode: symbol not defined > collect2: err

[libvirt] [PATCH] virnetlink: fix build on non-Linux

2015-01-05 Thread Eric Blake
Commit 4dc04d3a added virNetlinkGetErrorCode, but forgot to provide a fallback, which kills the build on mingw (among others): CCLD libvirt.la Cannot export virNetlinkGetErrorCode: symbol not defined collect2: error: ld returned 1 exit status * src/util/virnetlink.c (virNetlinkGetErrorC