[gnet] vs6.0: can't compile



Hi,

I try to compile gnet-2.0-20030531 with vc++ 6.0 as a dll. The paths to
glib are added.

While base64.c compiles without error -- most others, like
gnet-private.c, give the error 'struct sockaddr_storage' not defined.

This struct is defined in gnet-private.h, however, inside of a
preprocessor condition which is not met on win32:

#ifndef GNET_WIN32
    /* ... */
    struct sockaddr_storage{ /* ... */ }
    /* ... */
#else
    /* ... */

There are other errors also. Maybe I missed something essencial?

Thanks for any help!
 Felix



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]