I try now to compile OpenWengo NG with MinGW on Windows. I ran into the
following:

wifo\netlib\src\netlib.cpp:756: error: `InternetGetConnectedState' undeclared
(first use this function)

This function is declared in wininet.h.

In netlib.cpp I read:

│#ifdef OS_WIN32
&#9474;#include <winsock2.h>
&#9474;#include <windows.h>
&#9474;#ifndef CC_MINGW
&#9474;#include <wininet.h>

If I understand correctly, wininet.h is included only if MinGW is not used.
But using win32api-3.6 (part of the current MinGW package), this include seems
necessary.

Emmanuel
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to