alloca() is declared in stdlib.h on BSD systems
authorGabriel de Dietrich <gabriel.dedietrich@digia.com>
Sun, 2 Feb 2014 11:34:00 +0000 (12:34 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sun, 2 Feb 2014 13:29:07 +0000 (14:29 +0100)
commitae19cdacbeade9e55bd4bf15314221c8fa182b5f
tree4b81c40b6bd1c5eb2b7a89417c2d8058486ae16a
parent3408bd9d08630687515401cfaadaf818912d72d7
alloca() is declared in stdlib.h on BSD systems

... except on Darwin.

Bonus change: Updated auto-tests trying to include 'alloca.h'.

This is a follow up on 24c43a5748b8502.

Change-Id: I299de00bf0dca7842470b158282daea221a10f2d
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/jsruntime/qv4alloca_p.h
tests/auto/qml/qjsengine/tst_qjsengine.cpp
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp