[FFmpeg-devel] Update on lbos

Luca Abeni lucabe72
Tue Feb 5 12:15:16 CET 2008

Hi Diego,

Diego Biurrun wrote:
>> The problem is that mingw32's libraries provide getaddrinfo() and
>> friends, but those functions can be linked and used only if their
>> prototypes are defined as "PASCAL" (I suspect this means that those
>> functions use the pascal calling convention and not the C one).
>> And for some reason mingw32's headers do not do this...
>> As a result, the functions are in the libraries but they cannot
>> be linked.
>> So, I added the prototypes with the "PASCAL" qualifier (this allows
>> to use the "CONFIG_IPV6" code in mingw32), but this breaks the
>> compilation for non-win32 systems. Hence, I added
>> #ifndef __MINGW32__
>> #define PASCAL
>> #endif
>> If there is some smarter way to address this problem, let me know
>> and I'll modify the header.
> Could you add a comment to that effect to the file?
Of course. I am adding a summary of my email as a comment in netdb.h


More information about the ffmpeg-devel mailing list