[2/6] ws2_32/tests: add tests for Inet_Ntop and inet_ntoa
James Hawkins
truiken at gmail.com
Sat Mar 7 20:21:35 CST 2009
On Sat, Mar 7, 2009 at 8:14 PM, Jeff Latimer <lats at yless4u.com.au> wrote:
> James Hawkins wrote:
>>
>> On Sat, Mar 7, 2009 at 5:56 PM, Jeff Latimer <lats at yless4u.com.au> wrote:
>>
>>>
>>> Note that Inet_Ntop is only available in Vista and Windows 2008. Hence
>>> the
>>> testing of version to avoid breaking the test suite on earlier OS's.
>>
>> Checking the windows version is not allowed in the tests.
>>
>>
>
> How do I work around the function not being available in earlier windows
> versions?
>
Like every other test: function pointers and GetProcAddress.
--
James Hawkins
More information about the wine-devel
mailing list