Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/events.h

    r25b5a4a rc5c18c1  
    8181G_MODULE_EXPORT void b_event_remove(gint id);
    8282
    83 /* With libevent, this one also cleans up event handlers if that wasn't already
    84    done (the caller is expected to do so but may miss it sometimes). */
     83/* For now, closesocket() is only a function when using libevent. With GLib
     84   it's a preprocessor macro. */
     85#ifdef EVENTS_LIBEVENT
    8586G_MODULE_EXPORT void closesocket(int fd);
     87#endif
    8688
    8789#endif /* _EVENTS_H_ */
Note: See TracChangeset for help on using the changeset viewer.