Ignore:
Timestamp:
Oct 23, 2008, 2:37:21 AM (13 years ago)
Author:
charles
Message:

reverse patch #6948. one of the new gcc attributes seems to be causing trouble.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.h

    r6948 r6949  
    1616#include <inttypes.h> /* uint16_t */
    1717
    18 #include "net.h" /* struct in_addr */
    19 #include "tr-gnuc.h"
     18#ifdef WIN32
     19 #include <winsock2.h> /* struct in_addr */
     20#else
     21 #include <netinet/in.h> /* struct in_addr */
     22#endif
    2023
    2124struct in_addr;
     
    4447int tr_pexCompare( const void * a, const void * b );
    4548
    46 tr_peerMgr* tr_peerMgrNew( struct tr_handle * ) TR_GNUC_MALLOC;
     49tr_peerMgr* tr_peerMgrNew( struct tr_handle * );
    4750
    4851void tr_peerMgrFree( tr_peerMgr * manager );
Note: See TracChangeset for help on using the changeset viewer.