aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4alloca_p.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-01-21 10:55:18 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-21 12:32:58 +0100
commit24c43a5748b850203dd4711de43b92122e0f6cd5 (patch)
tree0ada08f0de3f9481cda69e606b023d1e47ceed2b /src/qml/jsruntime/qv4alloca_p.h
parent1b53fb1b6f00fe6bef787d385dddc48d52b090c6 (diff)
Make compile on DragonFly BSD.
[ChangeLog][Platform Specific Changes][BSD] Fixed compile errors on DragonFly BSD and potentially FreeBSD. Task-number: QTBUG-35867 Change-Id: Iea90b93672c34f8a4b56e9afc4dbfb82cc993548 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4alloca_p.h')
-rw-r--r--src/qml/jsruntime/qv4alloca_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4alloca_p.h b/src/qml/jsruntime/qv4alloca_p.h
index f507d174e1..e51c6dff00 100644
--- a/src/qml/jsruntime/qv4alloca_p.h
+++ b/src/qml/jsruntime/qv4alloca_p.h
@@ -50,7 +50,9 @@
# define alloca _alloca
# endif
#else
+#if !defined(__FreeBSD__) && !defined(__DragonFly__)
# include <alloca.h>
#endif
+#endif
#endif