From: Debian Qt/KDE Maintainers Date: Fri, 1 May 2015 19:35:39 +0000 (+0000) Subject: _kfreebsd_strnstr_build_fix X-Git-Tag: archive/raspbian/4%4.8.6+git64-g5dc8b2b+dfsg-3+deb8u2+rpi1~1^2~23 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a6d9951eb5cd6a7a902438843839d6fb564ce18a;p=qt4-x11.git _kfreebsd_strnstr_build_fix Gbp-Pq: Name 51_kfreebsd_strnstr_build_fix.diff --- diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h index 605a0ed26..e03cc4368 100644 --- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h +++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h @@ -423,7 +423,7 @@ #endif /* OS(LINUX) - Linux */ -#ifdef __linux__ +#if defined(__linux__) || defined(__GLIBC__) #define WTF_OS_LINUX 1 #endif diff --git a/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h b/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h index e8b03be12..5f6333a3c 100644 --- a/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h +++ b/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h @@ -427,7 +427,7 @@ #endif /* OS(LINUX) - Linux */ -#ifdef __linux__ +#if defined(__linux__) || defined(__GLIBC__) #define WTF_OS_LINUX 1 #endif