alloca build fixes

This commit is contained in:
Arvid Norberg 2009-09-06 23:56:07 +00:00
parent 4cb1c9f006
commit 3ea1b0d304
1 changed files with 0 additions and 4 deletions

View File

@ -41,11 +41,7 @@ POSSIBILITY OF SUCH DAMAGE.
#else
#if defined (_LINUX_) || defined (_CYGWIN_)
#include <alloca.h>
#elif defined (_FREEBSD_)
#include <stdlib.h>
#endif
#define TORRENT_ALLOCA(t, n) static_cast<t*>(alloca(sizeof(t) * (n)))