get rid of msvc warning
This commit is contained in:
parent
166f761df3
commit
658eef82a5
|
@ -38,8 +38,10 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
#ifndef alloca
|
||||||
#define alloca(s) _alloca(s)
|
#define alloca(s) _alloca(s)
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef TORRENT_DISK_STATS
|
#ifdef TORRENT_DISK_STATS
|
||||||
#include "libtorrent/time.hpp"
|
#include "libtorrent/time.hpp"
|
||||||
|
|
Loading…
Reference in New Issue