Changeset 765580cb3a8f0152aa38da1a2f5329e0792764cf

Show
Ignore:
Timestamp:
01/30/09 11:33:49 (4 years ago)
Author:
Armin Burgmeier <armin@…>
Parents:
6a08870014906979cf9f8fa0228ab99ad9e2a361
Children:
bf2f4402d5c71857cae1b3ade763f65575de4990
git-committer:
Armin Burgmeier <armin@arbur.net> / 2009-01-30T11:33:49Z+0100
Message:

Include <wspiapi.h> to support Windows 2000. #425.

2009-01-30 Armin Burgmeier <armin@…>

  • code/util/resolv.cpp: Include the <wspiapi.h> header file on Windows to support Windows 2000. Bug #425.
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r6a08870 r765580c  
     12009-01-30  Armin Burgmeier  <armin@arbur.net> 
     2 
     3        * code/util/resolv.cpp: Include the <wspiapi.h> header file on Windows 
     4        to support Windows 2000. Bug #425. 
     5 
    162009-01-16  Armin Burgmeier  <armin@arbur.net> 
    27 
  • code/util/resolv.cpp

    r6b79c69 r765580c  
    2727# define _WIN32_WINNT 0x0501 
    2828# include <ws2tcpip.h> 
     29/* We need to include wspiapi.h to support getaddrinfo on Windows 2000. 
     30 * See the MSDN article for getaddrinfo 
     31 * http://msdn.microsoft.com/en-us/library/ms738520(VS.85).aspx 
     32 * and bug #425. */ 
     33# include <wspiapi.h> 
    2934#else 
    3035# include <sys/types.h>