Changeset 136c2bb for sock.h


Ignore:
Timestamp:
2010-08-14T10:57:17Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
07874be, 762d96f
Parents:
ac2717b
Message:

Fix the libevent-specific compiler warning about closesocket().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sock.h

    rac2717b r136c2bb  
    1313#ifndef EVENTS_LIBEVENT
    1414#define closesocket(a) close(a)
     15#else
     16void closesocket( int fd );
    1517#endif
    1618#else
Note: See TracChangeset for help on using the changeset viewer.