Possibly fixed not found alloca on FreeBSD.

This commit is contained in:
Georg Rudoy 2009-09-06 18:22:55 +00:00
parent b673a1bab1
commit 5b5597e523
1 changed files with 1 additions and 0 deletions

View File

@ -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