forked from premiere/premiere-libtorrent
Possibly fixed not found alloca on FreeBSD.
This commit is contained in:
parent
b673a1bab1
commit
5b5597e523
|
@ -42,6 +42,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#else
|
||||
|
||||
#include <alloca.h>
|
||||
#include <stdlib.h>
|
||||
#define TORRENT_ALLOCA(t, n) static_cast<t*>(alloca(sizeof(t) * (n)))
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue