1 | #ifdef _WIN32 |
1 | #ifdef _WIN32 |
|
|
2 | long _ftol (double); /* defined by VC6 C libs */ |
|
|
3 | long _ftol2 (double dblSource) { return _ftol (dblSource); } |
2 | # define WIN32_LEAN_AND_MEAN |
4 | # define WIN32_LEAN_AND_MEAN |
3 | # define _WIN32_WINNT 0x0500 // needed to get win2000 api calls |
5 | # define _WIN32_WINNT 0x0500 // needed to get win2000 api calls |
4 | # include <malloc.h> |
6 | # include <malloc.h> |
5 | # include <windows.h> |
7 | # include <windows.h> |
6 | # include <wininet.h> |
8 | # include <wininet.h> |
… | |
… | |
656 | void |
658 | void |
657 | win32_proxy_info () |
659 | win32_proxy_info () |
658 | PPCODE: |
660 | PPCODE: |
659 | { |
661 | { |
660 | #ifdef _WIN32 |
662 | #ifdef _WIN32 |
661 | INTERNET_PROXY_INFO proxyinfo; |
|
|
662 | char buffer[2048]; |
663 | char buffer[2048]; |
663 | DWORD buflen; |
664 | DWORD buflen; |
664 | |
665 | |
665 | EXTEND (SP, 3); |
666 | EXTEND (SP, 3); |
666 | |
667 | |