Wireshark-dev: Re: [Wireshark-dev] MSVC 2008 - ENOTSUP not declared

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Thu, 21 Jun 2012 11:16:46 -0400
Hmm, I should have investigated a little further before sending the email.

ws80211_toolbar_new() is testing for a ENOTSUP return from ws80211_init() which never returns ENOTSUP. Does one of the error returns from that function mean "Wireless support not enabled"? Maybe the test (which results in that message instead of just "Failed to initialize ws80211") should go away?

Pontus Fuchs wrote:
Hi,

Change it to ENOENT. Caller needs update too.

Cheers,

Pontus

Den 21 jun 2012 16:25 skrev "Jeff Morriss" <jeff.morriss.ws@xxxxxxxxx <mailto:jeff.morriss.ws@xxxxxxxxx>>:

    The current trunk doesn't compile on my MSVC-2008-using laptop
    because ENOTSUP is not defined (but it's used in
    ui/gtk/main_80211_toolbar.c). Searching the 'net indicates that the
    2010 version added a bunch of errno values that weren't previously
    there.

    What to do?