_kfreebsd_strnstr_build_fix
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Sun, 14 Apr 2019 10:25:37 +0000 (11:25 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Sun, 14 Apr 2019 10:25:37 +0000 (11:25 +0100)
Gbp-Pq: Name 51_kfreebsd_strnstr_build_fix.diff

src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h

index 605a0ed26f0b2650f4047443f8d99f3d17dcc0a7..e03cc436843561b0a6807545f030277fb1a09c3d 100644 (file)
 #endif
 
 /* OS(LINUX) - Linux */
-#ifdef __linux__
+#if defined(__linux__) || defined(__GLIBC__)
 #define WTF_OS_LINUX 1
 #endif
 
index e8b03be124d6880581af4dcc14c83564e2bd1ea8..5f6333a3c3ff78f5467c2f996fa9ae4aed49405a 100644 (file)
 #endif
 
 /* OS(LINUX) - Linux */
-#ifdef __linux__
+#if defined(__linux__) || defined(__GLIBC__)
 #define WTF_OS_LINUX 1
 #endif