Ignore:
Timestamp:
Oct 19, 2008, 5:43:04 PM (13 years ago)
Author:
charles
Message:

further win32 portability fixes from Spry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.h

    r6906 r6924  
    2929 #include <inttypes.h>
    3030 #include <winsock2.h>
    31 typedef int socklen_t;
    32 typedef uint16_t tr_port_t;
     31 typedef int socklen_t;
     32 typedef uint16_t tr_port_t;
    3333#elif defined( __BEOS__ )
    3434 #include <sys/socket.h>
    3535 #include <netinet/in.h>
    36 typedef unsigned short tr_port_t;
    37 typedef int socklen_t;
     36 typedef unsigned short tr_port_t;
     37 typedef int socklen_t;
    3838#else
    3939 #include <sys/types.h>
     
    4141 #include <netinet/in.h>
    4242 #include <arpa/inet.h>
    43 typedef in_port_t tr_port_t;
     43 typedef in_port_t tr_port_t;
    4444#endif
    4545
Note: See TracChangeset for help on using the changeset viewer.