1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-22 15:54:57 +00:00

Make utp_config.h usable with MSVC (#warning directive is not standard)

This commit is contained in:
Mike Gelfand 2014-12-13 10:03:44 +00:00
parent 365b28bc81
commit aa0b500ae5

View file

@ -5,7 +5,12 @@
// This should return the global number of bytes sent, used for determining dynamic
// packet size based on rate
#ifdef _MSC_VER
#pragma warning()
#pragma message(implement this in libtransmission)
#else
#warning implement this in libtransmission
#endif
uint64 UTP_GetGlobalUTPBytesSent(const struct sockaddr *remote, socklen_t remotelen) { return 0; }
enum bandwidth_type_t {