Ignore:
Timestamp:
Nov 24, 2008, 8:17:36 PM (13 years ago)
Author:
charles
Message:

(libT) add #ifdefs to ensure that client apps don't #include private libtransmission headers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/trevent.h

    r6811 r7151  
    1111 */
    1212
     13#ifndef __TRANSMISSION__
     14#error only libtransmission should #include this header.
     15#endif
     16
    1317#ifndef TR_EVENT_H
     18#define TR_EVENT_H
    1419
    1520#include <stddef.h> /* size_t */
Note: See TracChangeset for help on using the changeset viewer.