MSVC Portability
Tomasz Wasilczyk
tomkiewicz.groups at gmail.com
Tue Apr 2 08:58:08 EDT 2013
2013/3/31 Zoltán Sólyom <z-ismeretlen at freemail.hu>:
>> unistd.h not found in:
>> libpurple/protocols/gg/lib/
>> dcc7.c
>> *sha1.c
>> resolver.c
>> pubdir.c
>> libgadu.c
>> handlers.c
>> events.c
>> dcc.c
>> common.c
>> dcc7.c (already mentioned above)
>> http.c
>> inttypes.h not found in:
>> libpurple/protocols/gg/
>> lib.message.h
>> unistd.h is included in internal.h, so the logic for whether to use
>> io.h should probably be in there. However, these GG files are part of
>> the external GG library, so I'm not sure how Tomasz wants to handle
>> it.
>>
>>> unistd.h not found in:
>>> libpurple/protocols/novell/
>>> *nmconn.c:
>>
>> See note above.
>>
>
> Creating an empty unistd.h file which merely includes io.h and putting it in
> any include path just for VS should fix things. Same with an empty
> inttypes.h. That way no source has to be modified.
In newest development version [1][2] of libgadu these includes are
removed, so when upstream gets released and internal libgadu gets
updated (few months, I think), such phantom files won't be necessary.
Are there any further issues with GG code?
[1] http://hg.pidgin.im/cpw/tomkiewicz/gg11-libgadu/file/tip
[2] http://toxygen.net/websvn/log.php?repname=libgadu
More information about the Devel
mailing list