diff options
Diffstat (limited to 'src/qml/jsruntime/qv4alloca_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4alloca_p.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4alloca_p.h b/src/qml/jsruntime/qv4alloca_p.h index e51c6dff00..a76c327b04 100644 --- a/src/qml/jsruntime/qv4alloca_p.h +++ b/src/qml/jsruntime/qv4alloca_p.h @@ -49,10 +49,8 @@ # ifndef __GNUC__ # define alloca _alloca # endif -#else -#if !defined(__FreeBSD__) && !defined(__DragonFly__) +#elif !defined(Q_OS_BSD4) || defined(Q_OS_DARWIN) # include <alloca.h> #endif -#endif #endif |