Index: libtorrent/src/torrent/common.h =================================================================== --- libtorrent/src/torrent/common.h (revision 738) +++ libtorrent/src/torrent/common.h (working copy) @@ -42,12 +42,14 @@ namespace torrent { -typedef enum { +enum priority_enum { PRIORITY_OFF = 0, PRIORITY_NORMAL, PRIORITY_HIGH -} priority_t; +}; +typedef priority_enum priority_t; + } #endif