Commit c38d69ce authored by Lars Knoll's avatar Lars Knoll
Browse files

Packport FreeBSD defines from Platform.h in qtdeclarative


This should get QtScript to compile on some more versions of
FreeBSD, including DragonFly.

Task-number: QTBUG-35880
Change-Id: Ie40cf8d1cc8a676d51694e609ddc9f85d22b9b81
Reviewed-by: default avatarJędrzej Nowacki <jedrzej.nowacki@digia.com>
Showing with 1 addition and 1 deletion
...@@ -441,7 +441,7 @@ ...@@ -441,7 +441,7 @@
#endif #endif
/* OS(FREEBSD) - FreeBSD */ /* OS(FREEBSD) - FreeBSD */
#ifdef __FreeBSD__ #if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__)
#define WTF_OS_FREEBSD 1 #define WTF_OS_FREEBSD 1
#endif #endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment