forked from premiere/premiere-libtorrent
fix linux build and make use of the system INT64_MAX define
This commit is contained in:
parent
b728037ec3
commit
3f1bfb5477
|
@ -50,8 +50,10 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#endif
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#define __STDC_FORMAT_MACROS
|
||||
#include <inttypes.h>
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#define __STDC_LIMIT_MACROS 1
|
||||
#include <inttypes.h> // for PRId64 et.al.
|
||||
#include <stdint.h> // for INT64_MAX
|
||||
#endif
|
||||
|
||||
#ifndef PRId64
|
||||
|
|
|
@ -30,6 +30,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
*/
|
||||
|
||||
#include "libtorrent/config.hpp"
|
||||
#include "libtorrent/utp_stream.hpp"
|
||||
#include "libtorrent/sliding_average.hpp"
|
||||
#include "libtorrent/utp_socket_manager.hpp"
|
||||
|
|
Loading…
Reference in New Issue