Changeset 765580cb3a8f0152aa38da1a2f5329e0792764cf
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r6a08870
|
r765580c
|
|
| | 1 | 2009-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 | |
| 1 | 6 | 2009-01-16 Armin Burgmeier <armin@arbur.net> |
| 2 | 7 | |
-
|
r6b79c69
|
r765580c
|
|
| 27 | 27 | # define _WIN32_WINNT 0x0501 |
| 28 | 28 | # 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> |
| 29 | 34 | #else |
| 30 | 35 | # include <sys/types.h> |