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:
parent
365b28bc81
commit
aa0b500ae5
1 changed files with 5 additions and 0 deletions
5
third-party/utp_config.h
vendored
5
third-party/utp_config.h
vendored
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue