sedwards@svn.reactos.com wrote:
done with wininet import
I can't compile it on XP: In file included from cookie.c:40: internet.h:423: error: syntax error before "FTP_FtpPutFileW" internet.h:424: warning: data definition has no type or storage class internet.h:425: error: syntax error before "FTP_FtpSetCurrentDirectoryW" internet.h:425: warning: data definition has no type or storage class internet.h:426: error: syntax error before "FTP_FtpCreateDirectoryW" internet.h:426: warning: data definition has no type or storage class internet.h:427: error: syntax error before "HINTERNET" internet.h:429: error: syntax error before "FTP_FtpGetCurrentDirectoryW" internet.h:430: warning: data definition has no type or storage class internet.h:437: error: syntax error before "FTP_FtpGetFileW" internet.h:439: warning: data definition has no type or storage class internet.h:441: error: syntax error before "HTTP_HttpSendRequestW" internet.h:442: warning: data definition has no type or storage class internet.h:443: error: syntax error before "HINTERNET" cookie.c:258: error: conflicting types for 'InternetGetCookieW' C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/wininet.h:814: error: previous declaration of 'InternetGetCookieW' was here cookie.c:258: error: conflicting types for 'InternetGetCookieW' C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/wininet.h:814: error: previous declaration of 'InternetGetCookieW' was here cookie.c:391: error: conflicting types for 'InternetSetCookieW' C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/wininet.h:812: error: previous declaration of 'InternetSetCookieW' was here cookie.c:391: error: conflicting types for 'InternetSetCookieW' C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/wininet.h:812: error: previous declaration of 'InternetSetCookieW' was here make[1]: *** [cookie.o] Error 1 make: *** [wininet] Error 2